Skip to content

Commit 07d7788

Browse files
author
Alan Christie
committed
build: User of buildx (ARM64)
1 parent 018dfd3 commit 07d7788

File tree

5 files changed

+22
-0
lines changed

5 files changed

+22
-0
lines changed

.github/workflows/build-latest.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ jobs:
4545
pre-commit run --all-files
4646
pylint operator/*.py
4747
ansible-lint
48+
- name: Set up QEMU
49+
uses: docker/setup-qemu-action@v1
50+
- name: Set up Docker Buildx
51+
uses: docker/setup-buildx-action@v1
4852
- name: Login to DockerHub
4953
uses: docker/login-action@v1
5054
with:
@@ -54,5 +58,6 @@ jobs:
5458
uses: docker/build-push-action@v2
5559
with:
5660
context: operator
61+
platforms: linux/amd64,linux/arm64
5762
push: true
5863
tags: informaticsmatters/data-manager-jupyter-operator:latest

.github/workflows/build-stable.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
uses: actions/checkout@v2
3737
- name: Inject slug/short variables
3838
uses: rlespinasse/[email protected]
39+
- name: Set up QEMU
40+
uses: docker/setup-qemu-action@v1
41+
- name: Set up Docker Buildx
42+
uses: docker/setup-buildx-action@v1
3943
- name: Login to DockerHub
4044
uses: docker/login-action@v1
4145
with:
@@ -45,6 +49,7 @@ jobs:
4549
uses: docker/build-push-action@v2
4650
with:
4751
context: operator
52+
platforms: linux/amd64,linux/arm64
4853
push: true
4954
tags: |
5055
informaticsmatters/data-manager-jupyter-operator:${{ env.GITHUB_REF_SLUG }}

.github/workflows/build-tag.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
uses: actions/checkout@v2
3333
- name: Inject slug/short variables
3434
uses: rlespinasse/[email protected]
35+
- name: Set up QEMU
36+
uses: docker/setup-qemu-action@v1
37+
- name: Set up Docker Buildx
38+
uses: docker/setup-buildx-action@v1
3539
- name: Login to DockerHub
3640
uses: docker/login-action@v1
3741
with:
@@ -41,5 +45,6 @@ jobs:
4145
uses: docker/build-push-action@v2
4246
with:
4347
context: operator
48+
platforms: linux/amd64,linux/arm64
4449
push: true
4550
tags: informaticsmatters/data-manager-jupyter-operator:${{ env.GITHUB_REF_SLUG }}

.github/workflows/build.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ jobs:
4646
run: |
4747
pre-commit run --all-files
4848
ansible-lint
49+
- name: Set up QEMU
50+
uses: docker/setup-qemu-action@v1
51+
- name: Set up Docker Buildx
52+
uses: docker/setup-buildx-action@v1
4953
- name: Build
5054
uses: docker/build-push-action@v2
5155
with:
5256
context: operator
57+
platforms: linux/amd64,linux/arm64

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
[![Data Manager: Application](https://img.shields.io/badge/data%20manager-application-000000?labelColor=dc332e)]()
44
[![Dev Stage: 1](https://img.shields.io/badge/dev%20stage-★☆☆%20%281%29-000000?labelColor=dc332e)](https://github.com/InformaticsMatters/code-repository-development-stages)
55

6+
![Architecture](https://img.shields.io/badge/architecture-amd64%20%7C%20arm64-lightgrey)
7+
68
[![build](https://github.com/informaticsmatters/data-manager-jupyter-operator/actions/workflows/build.yaml/badge.svg)](https://github.com/informaticsmatters/data-manager-jupyter-operator/actions/workflows/build.yaml)
79
[![build latest](https://github.com/informaticsmatters/data-manager-jupyter-operator/actions/workflows/build-latest.yaml/badge.svg)](https://github.com/informaticsmatters/data-manager-jupyter-operator/actions/workflows/build-latest.yaml)
810
[![build tag](https://github.com/informaticsmatters/data-manager-jupyter-operator/actions/workflows/build-tag.yaml/badge.svg)](https://github.com/informaticsmatters/data-manager-jupyter-operator/actions/workflows/build-tag.yaml)

0 commit comments

Comments
 (0)