From 45dd50a175c9e707f2a4f064ebd6d03c54b33fab Mon Sep 17 00:00:00 2001 From: Kairo Araujo Date: Thu, 1 Feb 2024 09:19:52 +0100 Subject: [PATCH] feature: support container image linux/arm64 Add support to build images linux/arm64. Related: repository-service-tuf/repository-service-tuf#615 Signed-off-by: Kairo Araujo --- .github/workflows/publish_container.yml | 1 + .github/workflows/publish_docker_dev.yml | 1 + .github/workflows/test_docker_build.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/publish_container.yml b/.github/workflows/publish_container.yml index 936ea85d..e646a0d9 100644 --- a/.github/workflows/publish_container.yml +++ b/.github/workflows/publish_container.yml @@ -52,6 +52,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: | ghcr.io/repository-service-tuf/repository-service-tuf-worker:${{ inputs.image_version }} build-args: | diff --git a/.github/workflows/publish_docker_dev.yml b/.github/workflows/publish_docker_dev.yml index d7dbc15c..7b099f61 100644 --- a/.github/workflows/publish_docker_dev.yml +++ b/.github/workflows/publish_docker_dev.yml @@ -45,6 +45,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: | ghcr.io/repository-service-tuf/repository-service-tuf-worker:dev build-args: | diff --git a/.github/workflows/test_docker_build.yml b/.github/workflows/test_docker_build.yml index 230db01a..4a153e24 100644 --- a/.github/workflows/test_docker_build.yml +++ b/.github/workflows/test_docker_build.yml @@ -25,6 +25,7 @@ jobs: with: context: . push: false + platforms: linux/amd64,linux/arm64 tags: | ghcr.io/repository-service-tuf/repository-service-tuf-worker:test build-args: |