feat: tag every build with the immutable commit SHA
This commit is contained in:
@@ -63,5 +63,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and Push Docker Image
|
- name: Build and Push Docker Image
|
||||||
run: |
|
run: |
|
||||||
docker build -t git.allmy.work/${{ gitea.repository }}:latest .
|
docker build \
|
||||||
|
-t git.allmy.work/${{ gitea.repository }}:latest \
|
||||||
|
-t git.allmy.work/${{ gitea.repository }}:${{ gitea.sha }} \
|
||||||
|
.
|
||||||
docker push git.allmy.work/${{ gitea.repository }}:latest
|
docker push git.allmy.work/${{ gitea.repository }}:latest
|
||||||
|
docker push git.allmy.work/${{ gitea.repository }}:${{ gitea.sha }}
|
||||||
|
|||||||
Reference in New Issue
Block a user