From 284e3c918a29b5c0b18afea75b5090bacd6203e1 Mon Sep 17 00:00:00 2001 From: Nicolas Caron Date: Wed, 3 Apr 2024 11:08:35 +0200 Subject: [PATCH] edit build.yml - back to base --- .gitea/workflows/build.yml | 5 ----- 1 file changed, 5 deletions(-) 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}}