Skip to content

Commit

Permalink
Check output of docker metadata action
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianDAlessandro committed Aug 1, 2024
1 parent d1a5be1 commit 4ec7e38
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [release]
on: [push, release]

jobs:
test:
Expand All @@ -19,8 +19,12 @@ jobs:
uses: docker/metadata-action@v3
with:
images: ghcr.io/${{ github.repository }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
- run: echo ${{ steps.meta.outputs.tags }}
- run: echo ${{ steps.meta.outputs.labels }}
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# push: true
# tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 4ec7e38

Please sign in to comment.