feat: add commit SHA tag to Docker image push for rollback capability
This commit is contained in:
parent
69e029fb53
commit
816f217d8e
1 changed files with 3 additions and 1 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
|
@ -45,4 +45,6 @@ jobs:
|
|||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository }}:latest
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:latest
|
||||
ghcr.io/${{ github.repository }}:${{ github.sha }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue