Reenable metadata

This commit is contained in:
Max Bachhuber 2023-05-24 17:24:00 +02:00
parent 48314d0f72
commit 1f1fe43c6e
1 changed files with 7 additions and 12 deletions

View File

@ -29,14 +29,11 @@ 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: Build and push Docker image
uses: docker/build-push-action@v4
@ -44,7 +41,5 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/bahuma20/firefly-iii-ai-categorize:latest
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}