Fix publish.yml to fetch tags

This commit is contained in:
KMKoushik
2024-06-26 05:49:15 +10:00
parent ea76ffae1d
commit 0e55e8954d

View File

@@ -1,9 +1,9 @@
name: Publish Docker name: Publish Docker
on: on:
release: push:
types: tags:
- released - "*"
workflow_dispatch: workflow_dispatch:
inputs: inputs:
branch: branch:
@@ -27,8 +27,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 1 fetch-depth: 0
fetch-tags: true
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3