From 56371e7db3d195af2dd63e6404e627982c4aec8a Mon Sep 17 00:00:00 2001 From: Chai Feng Date: Wed, 9 Jul 2025 23:15:20 +0800 Subject: [PATCH] Build on all tags&branches --- .github/workflows/build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5db610a..3fea5e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,10 +2,6 @@ name: Build and Push Images on: push: - tags: - - '*' - branches: - - 'master' jobs: docker: @@ -18,6 +14,7 @@ jobs: use_iptables_legacy: "false" - name: legacy use_iptables_legacy: "true" + steps: - name: Checkout code uses: actions/checkout@v4 @@ -40,7 +37,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: chaifeng/ufw-docker-agent + images: ${{ github.actor }}/ufw-docker-agent tags: | type=ref,event=tag,suffix=-${{ matrix.variant.name }} type=ref,event=branch,suffix=-${{ matrix.variant.name }} @@ -55,5 +52,3 @@ jobs: use_iptables_legacy=${{ matrix.variant.use_iptables_legacy }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max