Enhance GitHub Actions workflow to support versioned tags and improve Docker image tagging

This commit is contained in:
Edgar P. Burkhart 2025-05-08 20:06:07 +02:00
parent 6644de29c7
commit 5b520cd793
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -2,6 +2,8 @@ name: Build Docker image
on:
push:
tags:
- 'v*'
jobs:
build:
@ -22,4 +24,6 @@ jobs:
uses: docker/build-push-action@v6
with:
push: true
tags: code.edgarpierre.fr/${{ github.repository }}:${{ github.ref_name }}
tags:
- code.edgarpierre.fr/${{ github.repository }}:${{ github.ref_name }}
- code.edgarpierre.fr/${{ github.repository }}:latest