This is an automated email from the ASF dual-hosted git repository. alinsran pushed a commit to branch v2.0.0 in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
commit 634bc5224c059c2958038f9a49530d65f779d029 Author: Ashing Zheng <axing...@gmail.com> AuthorDate: Thu Jul 3 18:31:47 2025 +0800 feat(ci): support build dev image (#2448) Signed-off-by: ashing <axing...@gmail.com> --- .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