From 2f524ae4725da3a9d29d8eed06a7bb72b55ce67d Mon Sep 17 00:00:00 2001 From: John Murret Date: Mon, 10 Apr 2023 16:42:42 -0600 Subject: [PATCH] ci: build-artifacts - fix platform missing in manifest error (#16940) * ci: build-artifacts - fix platform missing in manifest error * remove platform key --- .github/workflows/build-artifacts.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index 57d23d52f5..632950b01d 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -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