Skip to content

Commit

Permalink
ci: trying to upgrade qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
farioas committed Dec 13, 2023
1 parent 194427a commit 89d5da8
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 11 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/docker-build-ontop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,17 @@ jobs:
sed -i "s#^FROM .*#FROM ${IMAGE_NAME}:${BASE_DOCKER_IMAGE_VERSION}#g" "${DOCKERFILE_PATH}"
cat "${DOCKERFILE_PATH}"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
env:
LOG_LEVEL: debug
BINFMT_VERSION: qemu-v8.0.4-33
with:
platforms: arm64
image: tonistiigi/binfmt:${{ env.BINFMT_VERSION }}

- name: Set up Docker Buildx
uses: docker/[email protected]
with:
version: v0.12.0
platforms: linux/amd64,linux/arm64

- name: Login to DockerHub
uses: docker/[email protected]
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/docker-build-ubi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/[email protected]
with:
version: v0.12.0

- name: Login to RedHat Registry
uses: docker/[email protected]
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,17 @@ jobs:
version="${current_time}$(echo $branch | cut -c1-$((50 - short_sha_length - current_time_length)))-${short_sha}"
echo "build_version=$version" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
env:
LOG_LEVEL: debug
BINFMT_VERSION: qemu-v8.0.4-33
with:
platforms: arm64
image: tonistiigi/binfmt:${{ env.BINFMT_VERSION }}

- name: Set up Docker Buildx
uses: docker/[email protected]
with:
version: v0.12.0
platforms: linux/amd64,linux/arm64

- name: Login to DockerHub
uses: docker/[email protected]
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/docker-release-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,17 @@ jobs:
exit 1
fi
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
env:
LOG_LEVEL: debug
BINFMT_VERSION: qemu-v8.0.4-33
with:
platforms: arm64
image: tonistiigi/binfmt:${{ env.BINFMT_VERSION }}

- name: Set up Docker Buildx
uses: docker/[email protected]
with:
version: v0.12.0
platforms: linux/amd64,linux/arm64

- name: Login to DockerHub
uses: docker/[email protected]
Expand Down

0 comments on commit 89d5da8

Please sign in to comment.