rework workflow to pickup the latest tag

This commit is contained in:
Karl 2025-05-18 15:02:54 +01:00
parent 423ca357f6
commit aabd19dd5f

View File

@ -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