Skip to content

Commit

Permalink
ci: build-artifacts - fix platform missing in manifest error (hashico…
Browse files Browse the repository at this point in the history
…rp#16940)

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

* remove platform key
  • Loading branch information
jmurret authored and ilpianista committed Apr 11, 2023
1 parent c7befd5 commit e12e44b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e12e44b

Please sign in to comment.