Skip to content

Commit

Permalink
fix: added additional params to Build Docker Image
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Peterson <[email protected]>
  • Loading branch information
mattp-swirldslabs committed Dec 19, 2024
1 parent 72ab5f9 commit 2a505b3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/zxc-verify-docker-build-determinism.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,24 @@ jobs:
- name: Show Docker Info
run: docker info

# - name: Build Docker Image
# uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
# env:
# SOURCE_DATE_EPOCH: ${{ steps.commit.outputs.source-date }}
# if: ${{ steps.baseline.outputs.exists == 'false' && !failure() && !cancelled() }}
# with:
# push: true
# no-cache: true
# platforms: linux/amd64,linux/arm64
# build-args: |
# SOURCE_DATE_EPOCH=${{ steps.commit.outputs.source-date }}
# VERSION=${{ env.VERSION }}
# context: ./${{ env.DOCKER_CONTEXT_PATH }}
# file: ./${{ env.DOCKER_CONTEXT_PATH }}/Dockerfile
# tags: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.VERSION }}
# build-contexts: |
# distributions=./server/build/distributions

- name: Build Docker Image
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
env:
Expand All @@ -338,8 +356,12 @@ jobs:
platforms: linux/amd64,linux/arm64
build-args: |
SOURCE_DATE_EPOCH=${{ needs.generate-baseline.outputs.source-date }}
VERSION=${{ env.VERSION }}
context: ${{ env.DOCKER_CONTEXT_PATH }}
file: ./${{ env.DOCKER_CONTEXT_PATH }}/Dockerfile
tags: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.VERSION }}
build-contexts: |
distributions=./server/build/distributions
- name: Regenerate Manifest
id: regen-manifest
Expand Down

0 comments on commit 2a505b3

Please sign in to comment.