Compare commits
4 Commits
build_2025
...
f1a488d362
| Author | SHA1 | Date | |
|---|---|---|---|
| f1a488d362 | |||
|
066a3864dd
|
|||
|
9a4902291e
|
|||
|
d06df32bab
|
@@ -54,12 +54,17 @@ jobs:
|
||||
tags: |
|
||||
# Tag avec le nom du tag Git
|
||||
type=ref,event=tag
|
||||
# Tag 'latest' pour la branche master
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
# Tag avec le SHA pour les autres branches
|
||||
type=sha,prefix=sha-
|
||||
labels: |
|
||||
org.opencontainers.image.title=${{ env.IMAGE_NAME }}
|
||||
org.opencontainers.image.description=Bot Discord
|
||||
org.opencontainers.image.url=https://gitea.zac.ovh/zachary/bot_Tamiseur
|
||||
org.opencontainers.image.source=https://gitea.zac.ovh/zachary/bot_Tamiseur
|
||||
org.opencontainers.image.description=Bot Discord de moi
|
||||
org.opencontainers.image.url=https://git.zac.ovh/zachary/bot_Tamiseur
|
||||
org.opencontainers.image.source=https://git.zac.ovh/zachary/bot_Tamiseur
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.created={{date 'RFC3339'}}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
@@ -72,10 +77,3 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- name: Generate artifact attestation
|
||||
uses: actions/attest-build-provenance@v1
|
||||
with:
|
||||
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_PATH }}/${{ env.IMAGE_NAME }}
|
||||
subject-digest: ${{ steps.build.outputs.digest }}
|
||||
push-to-registry: true
|
||||
|
||||
@@ -3,7 +3,7 @@ deployment:
|
||||
strategy: RollingUpdate
|
||||
image:
|
||||
repository: "rgy.angels-dev.fr/prod/bot_tamiseur"
|
||||
tag: "4.0.0"
|
||||
tag: "build_2025-06-10_01h49"
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
NODE_ENV: "production"
|
||||
|
||||
Reference in New Issue
Block a user