From c764407a4638f08f018ce87c7ef5923727a18579 Mon Sep 17 00:00:00 2001 From: yogesh Date: Tue, 14 Apr 2026 08:50:21 +0000 Subject: [PATCH 1/4] feat: add keploy-ci-azurecli image for Azure Blob Storage uploads Adds a new CI image based on mcr.microsoft.com/azure-cli:latest with tar and gzip, mirroring the existing keploy-ci-awscli pattern. Registers it in both the build-check and publish workflows. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/docker-build.yml | 6 ++++++ .github/workflows/publish.yml | 3 +++ keploy-ci-azurecli/Dockerfile | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 keploy-ci-azurecli/Dockerfile diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 4ae8ac8..7e61884 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -54,6 +54,12 @@ jobs: - context: ./keploy-ci-awscli tag-prefix: 'awscli-' arch: arm64 + - context: ./keploy-ci-azurecli + tag-prefix: 'azurecli-' + arch: amd64 + - context: ./keploy-ci-azurecli + tag-prefix: 'azurecli-' + arch: arm64 # --- amd64-only images --- - context: ./keploy-ci-go-build tag-prefix: 'go-build-' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4ecc540..9c65b41 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,6 +40,9 @@ jobs: - context: ./keploy-ci-awscli tag-prefix: 'awscli-' platforms: linux/amd64,linux/arm64 + - context: ./keploy-ci-azurecli + tag-prefix: 'azurecli-' + platforms: linux/amd64,linux/arm64 # amd64-only (MinGW cross-compiler is x86-64 only) - context: ./keploy-ci-go-build tag-prefix: 'go-build-' diff --git a/keploy-ci-azurecli/Dockerfile b/keploy-ci-azurecli/Dockerfile new file mode 100644 index 0000000..794f5d9 --- /dev/null +++ b/keploy-ci-azurecli/Dockerfile @@ -0,0 +1,5 @@ +# keploy-ci-azurecli: Azure CLI + tar + gzip +# Used by: release pipelines for artifact upload to Azure Blob Storage +FROM mcr.microsoft.com/azure-cli:latest + +RUN apk add --no-cache tar gzip From 2029b0eb4e5fd1be355f3107fa6cbab2bbaf2240 Mon Sep 17 00:00:00 2001 From: yogesh Date: Tue, 14 Apr 2026 08:54:27 +0000 Subject: [PATCH 2/4] fix: use tdnf instead of apk in azurecli Dockerfile mcr.microsoft.com/azure-cli:latest is CBL-Mariner based, not Alpine. Replace apk with tdnf (the CBL-Mariner package manager). Co-Authored-By: Claude Sonnet 4.6 --- keploy-ci-azurecli/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keploy-ci-azurecli/Dockerfile b/keploy-ci-azurecli/Dockerfile index 794f5d9..9ced991 100644 --- a/keploy-ci-azurecli/Dockerfile +++ b/keploy-ci-azurecli/Dockerfile @@ -2,4 +2,4 @@ # Used by: release pipelines for artifact upload to Azure Blob Storage FROM mcr.microsoft.com/azure-cli:latest -RUN apk add --no-cache tar gzip +RUN tdnf install -y tar gzip && tdnf clean all From 668726ea88d5fa53a9d0586434374d3bd17c7d58 Mon Sep 17 00:00:00 2001 From: yogesh Date: Tue, 14 Apr 2026 08:56:09 +0000 Subject: [PATCH 3/4] fix: pin azurecli base to 2.64.0-alpine for reproducible builds Pinning to the Alpine variant guarantees apk is available and avoids future OS switches from mcr.microsoft.com/azure-cli:latest. Co-Authored-By: Claude Sonnet 4.6 --- keploy-ci-azurecli/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keploy-ci-azurecli/Dockerfile b/keploy-ci-azurecli/Dockerfile index 9ced991..c06637a 100644 --- a/keploy-ci-azurecli/Dockerfile +++ b/keploy-ci-azurecli/Dockerfile @@ -1,5 +1,5 @@ # keploy-ci-azurecli: Azure CLI + tar + gzip # Used by: release pipelines for artifact upload to Azure Blob Storage -FROM mcr.microsoft.com/azure-cli:latest +FROM mcr.microsoft.com/azure-cli:2.64.0-alpine -RUN tdnf install -y tar gzip && tdnf clean all +RUN apk add --no-cache tar gzip From 42635b612751e135a57b26a6ba08713e36cede5a Mon Sep 17 00:00:00 2001 From: yogesh Date: Tue, 14 Apr 2026 08:58:15 +0000 Subject: [PATCH 4/4] =?UTF-8?q?fix:=20revert=20to=20latest=20with=20tdnf?= =?UTF-8?q?=20=E2=80=94=20alpine=20tag=20does=20not=20exist=20on=20MCR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mcr.microsoft.com/azure-cli:2.64.0-alpine is not a published tag. The official azure-cli image is CBL-Mariner based, so tdnf is the correct package manager. Co-Authored-By: Claude Sonnet 4.6 --- keploy-ci-azurecli/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keploy-ci-azurecli/Dockerfile b/keploy-ci-azurecli/Dockerfile index c06637a..9ced991 100644 --- a/keploy-ci-azurecli/Dockerfile +++ b/keploy-ci-azurecli/Dockerfile @@ -1,5 +1,5 @@ # keploy-ci-azurecli: Azure CLI + tar + gzip # Used by: release pipelines for artifact upload to Azure Blob Storage -FROM mcr.microsoft.com/azure-cli:2.64.0-alpine +FROM mcr.microsoft.com/azure-cli:latest -RUN apk add --no-cache tar gzip +RUN tdnf install -y tar gzip && tdnf clean all