fix: update Docker image tag to use commit SHA for versioning

This commit is contained in:
MythEclipse
2026-05-19 16:34:23 +07:00
parent 4687443fd4
commit 80957d1eb3
+2 -2
View File
@@ -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