fix: update Docker image tag to use commit SHA for versioning
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: ghcr.io/mytheclipse/bete:latest
|
IMAGE_NAME: ghcr.io/mytheclipse/bete:${{ github.sha }}
|
||||||
run: |
|
run: |
|
||||||
docker build -t "$IMAGE_NAME" .
|
docker build -t "$IMAGE_NAME" .
|
||||||
docker push "$IMAGE_NAME"
|
docker push "$IMAGE_NAME"
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
ENV_FILE: ${{ secrets.ENV_FILE }}
|
ENV_FILE: ${{ secrets.ENV_FILE }}
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
GITHUB_ACTOR: ${{ github.actor }}
|
GITHUB_ACTOR: ${{ github.actor }}
|
||||||
IMAGE_NAME: ghcr.io/mytheclipse/bete:latest
|
IMAGE_NAME: ghcr.io/mytheclipse/bete:${{ github.sha }}
|
||||||
run: |
|
run: |
|
||||||
# 1. Setup SSH Key
|
# 1. Setup SSH Key
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user