Refactor push workflow to ensure proper tag formatting for Docker image
This commit is contained in:
parent
c0c32465c2
commit
22c2ac3881
1 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,8 @@ name: Push Docker image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -22,4 +24,6 @@ jobs:
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue