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