Compare commits
6 Commits
build_2025
...
f1a488d362
| Author | SHA1 | Date | |
|---|---|---|---|
| f1a488d362 | |||
|
066a3864dd
|
|||
|
9a4902291e
|
|||
|
d06df32bab
|
|||
|
60d0c01212
|
|||
|
5e7c1842a4
|
@@ -54,27 +54,26 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
# Tag avec le nom du tag Git
|
# Tag avec le nom du tag Git
|
||||||
type=ref,event=tag
|
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: |
|
labels: |
|
||||||
org.opencontainers.image.title=${{ env.IMAGE_NAME }}
|
org.opencontainers.image.title=${{ env.IMAGE_NAME }}
|
||||||
org.opencontainers.image.description=Bot Discord
|
org.opencontainers.image.description=Bot Discord de moi
|
||||||
org.opencontainers.image.url=https://gitea.zac.ovh/zachary/bot_Tamiseur
|
org.opencontainers.image.url=https://git.zac.ovh/zachary/bot_Tamiseur
|
||||||
org.opencontainers.image.source=https://gitea.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.revision=${{ github.sha }}
|
||||||
|
org.opencontainers.image.created={{date 'RFC3339'}}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
file: build/node.dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
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
|
|
||||||
|
|||||||
@@ -5,14 +5,13 @@ ENV NODE_ENV=production
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk add --no-cache python3 make g++
|
RUN apk add --no-cache ffmpeg python3 make g++
|
||||||
|
|
||||||
# Copy package files and install only production dependencies
|
# Copy package files and install only production dependencies
|
||||||
COPY package.json package-lock.json* .
|
COPY package.json package-lock.json* .
|
||||||
RUN npm ci --only=production --ignore-scripts && \
|
RUN npm ci --only=production --ignore-scripts && \
|
||||||
npm install bufferutil zlib-sync
|
npm install bufferutil zlib-sync
|
||||||
|
|
||||||
|
|
||||||
# Copy the builded files and the charts
|
# Copy the builded files and the charts
|
||||||
COPY ./dist/* .
|
COPY ./dist/* .
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ deployment:
|
|||||||
strategy: RollingUpdate
|
strategy: RollingUpdate
|
||||||
image:
|
image:
|
||||||
repository: "rgy.angels-dev.fr/prod/bot_tamiseur"
|
repository: "rgy.angels-dev.fr/prod/bot_tamiseur"
|
||||||
tag: "4.0.0"
|
tag: "build_2025-06-10_01h49"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
NODE_ENV: "production"
|
NODE_ENV: "production"
|
||||||
|
|||||||
0
src/commands/global/amp.ts
Executable file → Normal file
0
src/commands/global/amp.ts
Executable file → Normal file
0
src/commands/global/database.ts
Executable file → Normal file
0
src/commands/global/database.ts
Executable file → Normal file
0
src/commands/global/ping.ts
Executable file → Normal file
0
src/commands/global/ping.ts
Executable file → Normal file
0
src/commands/player/loop.ts
Executable file → Normal file
0
src/commands/player/loop.ts
Executable file → Normal file
0
src/commands/player/lyrics.ts
Executable file → Normal file
0
src/commands/player/lyrics.ts
Executable file → Normal file
0
src/commands/player/panel.ts
Executable file → Normal file
0
src/commands/player/panel.ts
Executable file → Normal file
0
src/commands/player/pause.ts
Executable file → Normal file
0
src/commands/player/pause.ts
Executable file → Normal file
0
src/commands/player/play.ts
Executable file → Normal file
0
src/commands/player/play.ts
Executable file → Normal file
0
src/commands/player/previous.ts
Executable file → Normal file
0
src/commands/player/previous.ts
Executable file → Normal file
0
src/commands/player/queue.ts
Executable file → Normal file
0
src/commands/player/queue.ts
Executable file → Normal file
0
src/commands/player/resume.ts
Executable file → Normal file
0
src/commands/player/resume.ts
Executable file → Normal file
0
src/commands/player/shuffle.ts
Executable file → Normal file
0
src/commands/player/shuffle.ts
Executable file → Normal file
0
src/commands/player/skip.ts
Executable file → Normal file
0
src/commands/player/skip.ts
Executable file → Normal file
0
src/commands/player/stop.ts
Executable file → Normal file
0
src/commands/player/stop.ts
Executable file → Normal file
0
src/commands/player/volume.ts
Executable file → Normal file
0
src/commands/player/volume.ts
Executable file → Normal file
0
src/commands/salonpostam/crack.ts
Executable file → Normal file
0
src/commands/salonpostam/crack.ts
Executable file → Normal file
0
src/commands/salonpostam/papa.ts
Executable file → Normal file
0
src/commands/salonpostam/papa.ts
Executable file → Normal file
0
src/commands/salonpostam/parle.ts
Executable file → Normal file
0
src/commands/salonpostam/parle.ts
Executable file → Normal file
0
src/commands/salonpostam/spam.ts
Executable file → Normal file
0
src/commands/salonpostam/spam.ts
Executable file → Normal file
0
src/commands/salonpostam/update.ts
Executable file → Normal file
0
src/commands/salonpostam/update.ts
Executable file → Normal file
0
src/events/client/error.ts
Executable file → Normal file
0
src/events/client/error.ts
Executable file → Normal file
0
src/events/client/guildCreate.ts
Executable file → Normal file
0
src/events/client/guildCreate.ts
Executable file → Normal file
0
src/events/client/guildMemberAdd.ts
Executable file → Normal file
0
src/events/client/guildMemberAdd.ts
Executable file → Normal file
0
src/events/client/guildMemberRemove.ts
Executable file → Normal file
0
src/events/client/guildMemberRemove.ts
Executable file → Normal file
0
src/events/client/guildUpdate.ts
Executable file → Normal file
0
src/events/client/guildUpdate.ts
Executable file → Normal file
0
src/events/client/interactionCreate.ts
Executable file → Normal file
0
src/events/client/interactionCreate.ts
Executable file → Normal file
0
src/events/client/ready.ts
Executable file → Normal file
0
src/events/client/ready.ts
Executable file → Normal file
0
src/events/player/audioTrackAdd.ts
Executable file → Normal file
0
src/events/player/audioTrackAdd.ts
Executable file → Normal file
0
src/events/player/audioTracksAdd.ts
Executable file → Normal file
0
src/events/player/audioTracksAdd.ts
Executable file → Normal file
0
src/events/player/debug.ts
Executable file → Normal file
0
src/events/player/debug.ts
Executable file → Normal file
0
src/events/player/disconnect.ts
Executable file → Normal file
0
src/events/player/disconnect.ts
Executable file → Normal file
0
src/events/player/emptyChannel.ts
Executable file → Normal file
0
src/events/player/emptyChannel.ts
Executable file → Normal file
0
src/events/player/emptyQueue.ts
Executable file → Normal file
0
src/events/player/emptyQueue.ts
Executable file → Normal file
0
src/events/player/error.ts
Executable file → Normal file
0
src/events/player/error.ts
Executable file → Normal file
0
src/events/player/playerError.ts
Executable file → Normal file
0
src/events/player/playerError.ts
Executable file → Normal file
0
src/events/player/playerSkip.ts
Executable file → Normal file
0
src/events/player/playerSkip.ts
Executable file → Normal file
0
src/events/player/playerStart.ts
Executable file → Normal file
0
src/events/player/playerStart.ts
Executable file → Normal file
0
src/index.ts
Executable file → Normal file
0
src/index.ts
Executable file → Normal file
0
src/static/parle.mp3
Executable file → Normal file
0
src/static/parle.mp3
Executable file → Normal file
0
src/static/stronger_shorter.mp3
Executable file → Normal file
0
src/static/stronger_shorter.mp3
Executable file → Normal file
0
tsconfig.json
Executable file → Normal file
0
tsconfig.json
Executable file → Normal file
Reference in New Issue
Block a user