Skip to content

Commit f556a64

Browse files
Merge pull request #30 from open-runtimes/fix-release-archs
Feat: Introduce platforms to release
2 parents 762ef27 + 54280ef commit f556a64

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,25 @@ jobs:
1717
- name: Check out the repo
1818
uses: actions/checkout@v2
1919

20+
- name: Set up QEMU
21+
uses: docker/setup-qemu-action@v2
22+
23+
- name: Set up Docker Buildx
24+
uses: docker/setup-buildx-action@v2
25+
2026
- name: Login to DockerHub
21-
uses: docker/login-action@v1
27+
uses: docker/login-action@v12
2228
with:
2329
registry: ${{ env.REGISTRY }}
2430
username: ${{ env.USERNAME }}
2531
password: ${{ env.PASSWORD }}
2632

2733
- name: Build and push
28-
uses: docker/build-push-action@v2
34+
uses: docker/build-push-action@v4
2935
with:
3036
build-args: |
3137
OPR_EXECUTOR_VERSION=${{ env.TAG }}
38+
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
3239
context: .
3340
push: true
3441
tags: ${{ env.IMAGE_NAME }}:latest,${{ env.IMAGE_NAME }}:${{ env.TAG }}

0 commit comments

Comments
 (0)