From 80957d1eb343a1b2b7ecea00342d8cd40afe1755 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Tue, 19 May 2026 16:34:23 +0700 Subject: [PATCH] fix: update Docker image tag to use commit SHA for versioning --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a05a420..6d7e88e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,7 +24,7 @@ jobs: - name: Build and push Docker image env: - IMAGE_NAME: ghcr.io/mytheclipse/bete:latest + IMAGE_NAME: ghcr.io/mytheclipse/bete:${{ github.sha }} run: | docker build -t "$IMAGE_NAME" . docker push "$IMAGE_NAME" @@ -37,7 +37,7 @@ jobs: ENV_FILE: ${{ secrets.ENV_FILE }} GITHUB_TOKEN: ${{ github.token }} GITHUB_ACTOR: ${{ github.actor }} - IMAGE_NAME: ghcr.io/mytheclipse/bete:latest + IMAGE_NAME: ghcr.io/mytheclipse/bete:${{ github.sha }} run: | # 1. Setup SSH Key mkdir -p ~/.ssh