Skip to content

Commit

Permalink
feat: update PR CI with multi arch support
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <[email protected]>
  • Loading branch information
kbdharun committed May 3, 2024
1 parent e2dbb07 commit a18738f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/image-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,19 @@ jobs:
name: Containerfile
path: Containerfile

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Rename Containerfile to Dockerfile
run: mv Containerfile Dockerfile

- name: Build and push image
uses: docker/[email protected]
with:
context: .
platforms: linux/amd64,linux/arm64
push: false
tags: ${{ github.actor }}/${{ env.IMAGE_NAME }}:main

0 comments on commit a18738f

Please sign in to comment.