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

This commit is contained in:
merith-tk 2024-11-03 13:53:27 -08:00
parent afb63ceb58
commit 63ceffaaa1

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 }}