Compare commits
1 Commits
build_2025
...
build_2025
| Author | SHA1 | Date | |
|---|---|---|---|
|
f2c6388da6
|
@@ -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
|
||||
Reference in New Issue
Block a user