Skip to content

Commit

Permalink
Prevent the publishing of an unknown arch package
Browse files Browse the repository at this point in the history
Without this change, a second package with arch "unknown/unknown" will
be published to the package repository.

See docker/build-push-action#820 for more
information.
  • Loading branch information
jeffesquivels committed Apr 26, 2023
1 parent fc968ac commit d058f1d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/github_release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ jobs:
context: .
file: Dockerfile.prod
push: ${{ github.ref_type == 'tag' }}
# This is required or a package with unknown architecture will be published too.
# See https://github.com/docker/build-push-action/issues/820 for further
# details.
# TODO - investigate further and see if we can find a solution where we
# don't have to set this.
provenance: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
Expand Down

0 comments on commit d058f1d

Please sign in to comment.