Actualiser .gitea/workflows/build-push.yaml
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m6s
Check BlueSky Crossposter version / check-version (push) Successful in 16s

This commit is contained in:
2025-04-14 13:20:24 +02:00
parent fd3bfe10f6
commit 96a60f3ed9

View File

@@ -58,9 +58,6 @@ jobs:
run: |
echo "IMAGE_TAGS=${{ env.IMAGE_TAGS }} pmo-${{ env.SOFTVERSION }}" >> $GITEA_ENV
- name: Podman login
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/podman-login@main
- name: Build and tag image
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/build-image@main
with:
@@ -95,11 +92,11 @@ jobs:
check_message: 'Docker image for $(cat ${{ env.RELEASE_FILE }}) built and tagged'
- name: Push image to registry
run: |
tags=(${{ env.IMAGE_TAGS }})
for tag in "${tags[@]}" ; do
podman push ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:$tag
done
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/push-image@main
with:
registry_login: true
image_name: '${{ env.IMAGE_NAME }}'
image_tags: '${{ env.IMAGE_TAGS }}'
- name: Push image failed
if: failure()