Skip to content

Commit

Permalink
trying: add --platform for docker pull
Browse files Browse the repository at this point in the history
  • Loading branch information
doitian authored Dec 13, 2023
1 parent 1af946e commit 0217d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Tag and push image
run: |
SRC_TAG=ghcr.io/nervosnetwork/ckb-docker-builder:${{ matrix.distro }}-${{ github.sha }}
docker pull "$SRC_TAG"
docker pull --platform linux/aarch64 "$SRC_TAG"
docker tag "$SRC_TAG" ghcr.io/nervosnetwork/ckb-docker-builder:${{ matrix.distro }}-latest
docker push ghcr.io/nervosnetwork/ckb-docker-builder:${{ matrix.distro }}-latest
docker tag "$SRC_TAG" ghcr.io/nervosnetwork/ckb-docker-builder:${{ matrix.distro }}-${{ steps.tag.outputs.tag }}
Expand Down

0 comments on commit 0217d56

Please sign in to comment.