Skip to content

Commit

Permalink
Problem: still can't build the image in GHA
Browse files Browse the repository at this point in the history
```
ERROR: tag is needed when pushing to registry
```

Solution: use tags from the meta step
  • Loading branch information
yrashk committed Oct 25, 2024
1 parent 41b56e9 commit ed94e80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
with:
platforms: linux/${{ matrix.platform }}
context: .
tags: ${{ steps.meta.outputs.tags }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
labels: ${{ steps.meta.outputs.labels }}
allow: security.insecure
Expand Down

0 comments on commit ed94e80

Please sign in to comment.