ci: build-artifacts - fix platform missing in manifest error (#16940)

* ci: build-artifacts - fix platform missing in manifest error

* remove platform key
This commit is contained in:
John Murret 2023-04-10 16:42:42 -06:00 committed by GitHub
parent b67ec0cb61
commit 78b21d8840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -66,6 +66,8 @@ jobs:
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # pin@v3.5.0
with:
go-version-file: 'go.mod'
- run: go env
- name: Build dev binary
run: make dev
@ -92,6 +94,12 @@ jobs:
file: ./build-support/docker/Consul-Dev.dockerfile
labels: COMMIT_SHA=${{ github.sha }},GITHUB_BUILD_URL=${{ env.GITHUB_BUILD_URL }}
push: true
# This is required or else the image is not pullable.
# 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
# we don't have to know to set this.
provenance: false
tags: |
hashicorpdev/${{ github.event.repository.name }}:${{ env.SHORT_SHA }}
hashicorpdev/${{ github.event.repository.name }}:latest