Actualiser .gitea/workflows/build-push.yaml
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m0s
Check Calibre-web version / check-version (push) Successful in 14s

This commit is contained in:
2025-04-13 21:04:40 +02:00
parent 43c04620b8
commit e6ef4eb038

View File

@@ -57,6 +57,10 @@ jobs:
- name: Build and tag image
run: |
podman build -t ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAGS }} .
for tag in "${IMAGE_TAGS[@]:1}"; do
podman tag ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${IMAGE_TAGS[0]} \
${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${tag}
done
- name: Canceled building
if: cancelled()
@@ -78,8 +82,9 @@ jobs:
- name: Push image to registry
run: |
podman push ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAGS }}
for tag in ${{ env.IMAGE_TAGS }}; do
podman push ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:$tag
done
- name: Push image failed
if: failure()