From 84b183eba9f80c77c30eb6e70914062bb0a2b288 Mon Sep 17 00:00:00 2001 From: Adrien Beaudouin Date: Wed, 14 Aug 2024 16:25:42 +0200 Subject: [PATCH] add tag only --- docker/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/action.yaml b/docker/action.yaml index b25d622..3203044 100644 --- a/docker/action.yaml +++ b/docker/action.yaml @@ -25,7 +25,7 @@ runs: username: ${{ inputs.username }} password: ${{ inputs.password }} - uses: docker/build-push-action@v6 - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} + if: ${{ !startsWith(gitea.ref, 'refs/tags/v') }} with: context: . push: true @@ -33,7 +33,7 @@ runs: labels: ${{ steps.meta.outputs.labels }} - name: Push tags shell: bash - if: ${{ startsWith(github.ref, 'refs/tags/v') }} + if: ${{ startsWith(gitea.ref, 'refs/tags/v') }} run: | for tag in ${{ steps.meta.outputs.tags }}; do docker push ${{ inputs.registry }}/${{ gitea.repository }}:$tag