Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
noituri committed Jan 7, 2025
1 parent 7d4ddb7 commit 1446dce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/package_for_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,19 +160,19 @@ jobs:
- name: Pull amd image
run: |
docker pull ghcr.io/software-mansion/smelter:${{ github.sha }}
echo "AMD64_IMAGE_ID=$(docker inspect --format='{{.Id}}' ghcr.io/software-mansion/smelter:${{ github.sha }})" >> "$GITHUB_ENV"
echo "AMD64_IMAGE_ID=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/software-mansion/smelter:${{ github.sha }})" >> "$GITHUB_ENV"
- name: 🔨 Build Smelter image
run: |
docker buildx build --platform linux/arm64 -t ghcr.io/software-mansion/smelter:${{ github.sha }} -f build_tools/docker/slim.Dockerfile .
- name: Push arm image
run: |
echo "ARM64_IMAGE_ID=$(docker inspect --format='{{.Id}}' ghcr.io/software-mansion/smelter:${{ github.sha }})" >> "$GITHUB_ENV"
docker push ghcr.io/software-mansion/smelter:${{ github.sha }}
echo "ARM64_IMAGE_ID=$(docker inspect --format='{{index .RepoDigests 0}}' ghcr.io/software-mansion/smelter:${{ github.sha }})" >> "$GITHUB_ENV"
echo "AMD64: ${{ env.AMD64_IMAGE_ID }}"
echo "ARM64: ${{ env.ARM64_IMAGE_ID }}"
docker push ghcr.io/software-mansion/smelter:${{ github.sha }}
- name: 🔗 Merge amd64 and arm64 images
run: |
Expand Down

0 comments on commit 1446dce

Please sign in to comment.