Push latest tag on docker image on release

This commit is contained in:
krek0 2026-05-03 23:50:48 +02:00
parent 87fbcdc013
commit 737f073287

View file

@ -22,11 +22,12 @@ jobs:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build image
run: |
docker build -t git.sinfonie.org/sinfonie/photo26:${{ steps.meta.outputs.TAG }} .
- name: Push image
- name: Build and push image
run: |
docker build \
-t git.sinfonie.org/sinfonie/photo26:${{ steps.meta.outputs.TAG }} \
-t git.sinfonie.org/sinfonie/photo26:latest \
.
docker push git.sinfonie.org/sinfonie/photo26:${{ steps.meta.outputs.TAG }}
docker push git.sinfonie.org/sinfonie/photo26:latest