From 5e6ad4231d90c6ec3093ba9488988868e913c647 Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Tue, 27 Jun 2023 23:07:40 +0200 Subject: [PATCH] update platform to build on arm64 as well --- .github/workflows/nightly.yml | 2 ++ .github/workflows/releases.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0ef33c8b..98e82501 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -58,9 +58,11 @@ jobs: push: true file: Dockerfile.${{ matrix.target }} tags: consol/${{ matrix.target }}:nightly + platforms: linux/amd64,linux/arm64 - name: Build container image uses: docker/build-push-action@v4 with: push: true file: Dockerfile.${{ matrix.target }} tags: docker.pkg.github.com/consol/docker-headless-vnc-container/${{ matrix.target }}:nightly + platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index e495b93e..d38a80bd 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -23,7 +23,6 @@ jobs: - name: run clean run: make clean - push_to_registries: name: Push Docker image to github and dockerhub runs-on: ubuntu-latest @@ -66,3 +65,4 @@ jobs: push: true file: Dockerfile.${{ matrix.target }} tags: docker.pkg.github.com/consol/docker-headless-vnc-container/${{ matrix.target }}:${{ env.BRANCH_NAME }}, docker.pkg.github.com/consol/docker-headless-vnc-container/${{ matrix.target }}:latest + platforms: linux/amd64,linux/arm64