Build without tags

This commit is contained in:
Max Bachhuber 2023-05-24 15:58:58 +02:00
parent d291b9df7a
commit 48314d0f72
1 changed files with 12 additions and 10 deletions

View File

@ -29,14 +29,14 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v2
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: debug
run: echo "${{ steps.meta.outputs.tags }}"
# - name: Extract metadata (tags, labels) for Docker
# id: meta
# uses: docker/metadata-action@v2
# with:
# images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
#
# - name: debug
# run: echo "${{ steps.meta.outputs.tags }}"
- name: Build and push Docker image
uses: docker/build-push-action@v4
@ -44,5 +44,7 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
ghcr.io/bahuma20/firefly-iii-ai-categorize:latest
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}