diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 22c4a51..fea82d6 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -3,7 +3,7 @@ name: Build and Publish Docker Image on: push: branches: [main] - tags: ['*'] # triggers on any tag push + tags: ["*"] # triggers on any tag push workflow_dispatch: jobs: @@ -13,6 +13,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 0 # ensures tags are fetched - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3