build nightly off commit
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 57s

This commit is contained in:
merith-tk 2024-11-03 13:52:14 -08:00
parent d8cd7de6e8
commit 29af83d292

View file

@ -25,6 +25,8 @@ jobs:
run: | run: |
# Build Docker image # Build Docker image
docker build -t $REPO_HOST/$REPO_PATH:${{ github.sha }} . docker build -t $REPO_HOST/$REPO_PATH:${{ github.sha }} .
docker tag $REPO_HOST/$REPO_PATH:nightly
docker push $REPO_HOST/$REPO_PATH:nightly
# Remove the local image to save storage # Remove the local image to save storage
docker rmi $REPO_HOST/$REPO_PATH:${{ github.sha }} docker rmi $REPO_HOST/$REPO_PATH:${{ github.sha }}