From f5c94acf917199a682433bfb35d977fef8257b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= <37316281+yanhao98@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:47:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=20build=5Fpush?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15c86bf..8d5cadf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: with: build_file: ./docker-build-push/Dockerfile build_platforms: linux/amd64 - build_push: ${{ github.ref == 'refs/heads/main' }} + build_push: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/tags/*' }} build_load: true metadata_images: | docker.io/${{ vars.DOCKERHUB_USERNAME }}/docker-example