Skip to content

Commit 7436b1a

Browse files
authored
Multi-arch Docker builds (#1111)
* Multiarch Docker builds * Setup QEMU for multiarch builds * Publish multiarch containers
1 parent b7183a0 commit 7436b1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: docker
22
on:
33
push:
44
branches:
5-
- main
5+
main
66
jobs:
77
docker:
88
name: push kjconroy/sqlc:devel
@@ -14,6 +14,7 @@ jobs:
1414
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
1515
- uses: actions/checkout@v2.3.4
1616
- uses: docker/setup-buildx-action@v1
17+
- uses: docker/setup-qemu-action@v1
1718
- uses: docker/login-action@v1.10.0
1819
with:
1920
username: kjconroy
@@ -22,6 +23,7 @@ jobs:
2223
with:
2324
context: .
2425
file: ./Dockerfile
26+
platforms: linux/amd64,linux/arm64/v8
2527
build-args: |
2628
github_ref=${{ github.ref }}
2729
github_sha=${{ github.sha }}

0 commit comments

Comments
 (0)