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 c1a09f4 commit cd105f2
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ name: Create and publish a container 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@a9794064588be971151ec5e7144cb535bcb56e36
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 cd105f2

Please sign in to comment.