Skip to content

Commit

Permalink
fix: added additional docker directives
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 18, 2024
1 parent 147179c commit e0f1aae
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/zxc-verify-docker-build-determinism.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,32 @@ jobs:
buildkitd-config-inline: |
[registry."docker.io"]
mirrors = ["https://hub.mirror.docker.lat.ope.eng.hashgraph.io"]
- name: Setup Local Docker Registry
if: ${{ steps.baseline.outputs.exists == 'false' && !failure() && !cancelled() }}
run: docker run -d -p 5000:5000 --restart=always --name registry registry:latest

- name: Show Docker Version
if: ${{ steps.baseline.outputs.exists == 'false' && !failure() && !cancelled() }}
run: docker version

- name: Show Docker Info
if: ${{ steps.baseline.outputs.exists == 'false' && !failure() && !cancelled() }}
run: docker info

- name: Build Gradle Artifacts
if: ${{ steps.baseline.outputs.exists == 'false' && !failure() && !cancelled() }}
run: ./gradlew assemble --scan

- name: Prepare for Docker Build
if: ${{ steps.baseline.outputs.exists == 'false' && !failure() && !cancelled() }}
run: |
mkdir -p "${{ github.workspace }}/${{ env.DOCKER_CONTEXT_PATH }}/sdk/data"
echo "::group::Copying Library Artifacts"
cp -Rvf "${{ github.workspace }}/hedera-node/data/lib" "${{ github.workspace }}/${{ env.DOCKER_CONTEXT_PATH }}/sdk/data/"
echo "::endgroup::"
echo "::group::Copying Application Artifacts"
cp -Rvf "${{ github.workspace }}/hedera-node/data/apps" "${{ github.workspace }}/${{ env.DOCKER_CONTEXT_PATH }}/sdk/data/"
echo "::endgroup::"

0 comments on commit e0f1aae

Please sign in to comment.