Skip to content

Commit

Permalink
set image_platform to arm64 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed May 6, 2024
1 parent 234881d commit 3866e2e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/call-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_PLATFORM: linux/amd64,linux/arm64
IMAGE_PLATFORMS: linux/amd64,linux/arm64
REPO_CONTEXT: .
REPO_CONTAINERFILE: ./Dockerfile

Expand Down Expand Up @@ -51,6 +51,8 @@ jobs:
name: Set up QEMU
id: setup-qemu
uses: docker/setup-qemu-action@v2
with:
platforms: amd64,arm64
-
name: Log in to registry
id: registry-login
Expand All @@ -69,7 +71,7 @@ jobs:
push: true
target: jekyll
tags: ghcr.io/${{ github.repository_owner }}/jekyll:latest
platforms: ${{ env.IMAGE_PLATFORM }}
platforms: ${{ env.IMAGE_PLATFORMS }}
-
name: Build jekyll-serve image
id: build-jekyll-serve-image
Expand All @@ -80,7 +82,7 @@ jobs:
push: true
target: jekyll-serve
tags: ghcr.io/${{ github.repository_owner }}/jekyll-serve:latest
platforms: ${{ env.IMAGE_PLATFORM }}
platforms: ${{ env.IMAGE_PLATFORMS }}
-
name: Run Trivy vulnerability scanner
id: trivy-scan
Expand Down

0 comments on commit 3866e2e

Please sign in to comment.