Skip to content

Commit

Permalink
Added support for ARM images
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Kosmaczewski committed Jul 19, 2023
1 parent 68b70bd commit 9a233f3
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ name: Create and publish a Docker image

on:
push:
branches: ['main']
tags: ['*']
branches: [ master ]
tags: [ '*' ]
pull_request:
branches: [ master ]

env:
REGISTRY: ghcr.io
Expand All @@ -29,6 +31,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64,amd64'

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

- name: Log in to the Container registry
uses: docker/login-action@219c305e1ce92a755f3aa4ba17387c95df31e987
with:
Expand All @@ -47,5 +57,6 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 9a233f3

Please sign in to comment.