This is an automated email from the ASF dual-hosted git repository.
ronething pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new b4a1d3ae feat(ci): support build dev image (#2448)
b4a1d3ae is described below
commit b4a1d3aeb75e2345ddb0f80a1713d552f47e9a13
Author: Ashing Zheng <[email protected]>
AuthorDate: Thu Jul 3 18:31:47 2025 +0800
feat(ci): support build dev image (#2448)
Signed-off-by: ashing <[email protected]>
---
.github/workflows/push-docker.yaml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/push-docker.yaml
b/.github/workflows/push-docker.yaml
index d308d479..c99e0116 100644
--- a/.github/workflows/push-docker.yaml
+++ b/.github/workflows/push-docker.yaml
@@ -20,6 +20,8 @@ on:
push:
tags:
- '*'
+ branches:
+ - master
jobs:
docker:
@@ -47,10 +49,20 @@ jobs:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
- name: Build and push multi-arch image
+ name: Build and push multi-arch image (Tag)
+ if: github.ref_type == 'tag'
env:
TAG: ${{ github.ref_name }}
IMAGE_TAG: ${{ github.ref_name }}
run: |
echo "building multi-arch images with tag: $TAG"
make build-push-multi-arch-image
+ -
+ name: Build and push multi-arch image (Dev)
+ if: github.ref_type == 'branch' && github.ref_name == 'master'
+ env:
+ TAG: dev
+ IMAGE_TAG: dev
+ run: |
+ echo "building multi-arch images with tag: $TAG"
+ make build-push-multi-arch-image