From 0e55e8954df0a817fa3a773b6b85eb255713f826 Mon Sep 17 00:00:00 2001 From: KMKoushik Date: Wed, 26 Jun 2024 05:49:15 +1000 Subject: [PATCH] Fix publish.yml to fetch tags --- .github/workflows/publish.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4dd0bee..c452d8c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,9 +1,9 @@ name: Publish Docker on: - release: - types: - - released + push: + tags: + - "*" workflow_dispatch: inputs: branch: @@ -27,8 +27,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 1 - fetch-tags: true + fetch-depth: 0 - name: Set up QEMU uses: docker/setup-qemu-action@v3