Skip to content

Commit

Permalink
using gitea vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarsoo committed Jul 19, 2024
1 parent 219ec1c commit 43ac5cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .gitea/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v2
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 }}
uses: actions/[email protected]
with:
Expand All @@ -32,12 +32,12 @@ jobs:
runs-on: ubuntu-latest
name: Build Containers
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:
- uses: actions/checkout@v3
with:
github-server-url: https://gitea.sheep-ghoul.ts.net
gitea-server-url: https://gitea.sheep-ghoul.ts.net

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -54,7 +54,7 @@ jobs:
push: true
tags: |
sarsoo/selector-cli:latest
sarsoo/selector-cli:${{ github.ref_name }}
sarsoo/selector-cli:${{ gitea.ref_name }}
file: Dockerfile.CLI

- name: Build Web Container
Expand All @@ -63,7 +63,7 @@ jobs:
push: true
tags: |
sarsoo/selector-web:latest
sarsoo/selector-web:${{ github.ref_name }}
sarsoo/selector-web:${{ gitea.ref_name }}
file: Dockerfile.Web

build-Js:
Expand All @@ -78,7 +78,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
github-server-url: https://gitea.sheep-ghoul.ts.net
gitea-server-url: https://gitea.sheep-ghoul.ts.net

- name: Install Node ${{ matrix.node }}
uses: actions/setup-node@v2
Expand Down

0 comments on commit 43ac5cf

Please sign in to comment.