using gitea vars
This commit is contained in:
parent
219ec1cee0
commit
43ac5cf7ae
@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
github-server-url: https://gitea.sheep-ghoul.ts.net
|
gitea-server-url: https://gitea.sheep-ghoul.ts.net
|
||||||
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
|
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
|
||||||
uses: actions/setup-dotnet@v3.0.3
|
uses: actions/setup-dotnet@v3.0.3
|
||||||
with:
|
with:
|
||||||
@ -32,12 +32,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Build Containers
|
name: Build Containers
|
||||||
needs: [build, build-Js] # for ignoring bad builds
|
needs: [build, build-Js] # for ignoring bad builds
|
||||||
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
|
if: gitea.event_name == 'push' && (gitea.ref == 'refs/heads/master' || startsWith(gitea.ref, 'refs/tags/'))
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
github-server-url: https://gitea.sheep-ghoul.ts.net
|
gitea-server-url: https://gitea.sheep-ghoul.ts.net
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
@ -54,7 +54,7 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
sarsoo/selector-cli:latest
|
sarsoo/selector-cli:latest
|
||||||
sarsoo/selector-cli:${{ github.ref_name }}
|
sarsoo/selector-cli:${{ gitea.ref_name }}
|
||||||
file: Dockerfile.CLI
|
file: Dockerfile.CLI
|
||||||
|
|
||||||
- name: Build Web Container
|
- name: Build Web Container
|
||||||
@ -63,7 +63,7 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
sarsoo/selector-web:latest
|
sarsoo/selector-web:latest
|
||||||
sarsoo/selector-web:${{ github.ref_name }}
|
sarsoo/selector-web:${{ gitea.ref_name }}
|
||||||
file: Dockerfile.Web
|
file: Dockerfile.Web
|
||||||
|
|
||||||
build-Js:
|
build-Js:
|
||||||
@ -78,7 +78,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
github-server-url: https://gitea.sheep-ghoul.ts.net
|
gitea-server-url: https://gitea.sheep-ghoul.ts.net
|
||||||
|
|
||||||
- name: Install Node ${{ matrix.node }}
|
- name: Install Node ${{ matrix.node }}
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user