diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index cbfcbb0..3dd3f38 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -41,10 +41,6 @@ jobs: username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_TOKEN }} - - name: Determine if it's a tag or a branch - id: tag_or_branch - run: echo ::set-output name=is_tag::$(if [[ $GITHUB_REF == refs/tags/* ]]; then echo true; else echo false; fi) - - name: Build and push uses: docker/build-push-action@v5 with: @@ -52,7 +48,6 @@ jobs: push: true tags: | git.coopgo.io/${{gitea.repository}}:${{ gitea.ref_name }} - git.coopgo.io/${{gitea.repository}}:${{ steps.tag_or_branch.outputs.is_tag == 'true' ? '' : ',latest' }} build-args: | ACCESS_TOKEN_USR=${{gitea.actor}} ACCESS_TOKEN_PWD=${{gitea.token}}