Skip to content

Commit

Permalink
fix: using localhost
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 c037fec commit ad02127
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/zxc-verify-docker-build-determinism.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ permissions:
env:
DOCKER_MANIFEST_GENERATOR: .github/workflows/support/scripts/generate-docker-artifact-baseline.sh
DOCKER_MANIFEST_PATH: ${{ github.workspace }}/.manifests/docker
# DOCKER_REGISTRY: localhost:5000
# DOCKER_IMAGE_NAME: block-node-server
DOCKER_REGISTRY: localhost:5000
DOCKER_IMAGE_NAME: hedera-block-node
DOCKER_CONTEXT_PATH: server/docker
SKOPEO_VERSION: v1.14.0
OWNER: hashgraph
Expand Down Expand Up @@ -163,12 +163,12 @@ jobs:
if: ${{ steps.baseline.outputs.exists == 'false' && !failure() && !cancelled() }}
run: ./gradlew clean build

- name: Login to GitHub Container Registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# - name: Login to GitHub Container Registry
# uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
# with:
# registry: ${{ env.REGISTRY }}
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}

# - name: Prepare for Docker Build
# if: ${{ steps.baseline.outputs.exists == 'false' && !failure() && !cancelled() }}
Expand All @@ -195,15 +195,15 @@ jobs:
SOURCE_DATE_EPOCH: ${{ steps.commit.outputs.source-date }}
if: ${{ steps.baseline.outputs.exists == 'false' && !failure() && !cancelled() }}
with:
push: true
push: false
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.REGISTRY }}/${{ github.repository }}:${{ env.VERSION }}
tags: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.VERSION }}
build-contexts: |
distributions=./server/build/distributions
Expand Down

0 comments on commit ad02127

Please sign in to comment.