Fix env variable
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 50s

This commit is contained in:
2025-05-30 15:35:57 +02:00
parent 66c5891510
commit f2c6388da6

View File

@@ -12,7 +12,7 @@ on:
env:
REGISTRY: rgy.angels-dev.fr
PATH: prod
IMAGE_PATH: prod
IMAGE_NAME: bot_tamiseur
jobs:
@@ -40,7 +40,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.PATH }}/${{ env.IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_PATH }}/${{ env.IMAGE_NAME }}
tags: |
# Tag avec le nom de la branche
type=ref,event=branch
@@ -61,7 +61,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64 # Multi-architecture si nécessaire
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
@@ -71,6 +71,6 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.PATH }}/${{ env.IMAGE_NAME }}
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_PATH }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.build.outputs.digest }}
push-to-registry: true