diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index 80adc96..3d853f9 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -84,16 +84,6 @@ jobs: registry: git.claeyscloud.com username: nologin password: ${{ secrets.PACKAGE_TOKEN }} - - name: Build tag list - id: tags - run: | - TAGS="${{ inputs.branch }}" - - if [ "${{ steps.variables.outputs.IS_LATEST }}" = "true" ]; then - TAGS="$TAGS,latest" - fi - - echo "tags=$TAGS" >> $GITHUB_OUTPUT - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v5 @@ -102,7 +92,9 @@ jobs: org.opencontainers.image.documentation=https://git.claeyscloud.com/david/net-base/README.md images: | git.claeyscloud.com/david/net-base - tags: ${{ steps.tags.outputs.tags }} + tags: | + type=raw,value=${{ inputs.branch }} + type=raw,value=latest,enable=${{ steps.variables.outputs.IS_LATEST == 'true' }} - name: Generate random password for certificate id: password run: