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

This commit is contained in:
merith-tk 2024-11-03 14:07:53 -08:00
parent 29af83d292
commit 8a61cbf727

View file

@ -25,7 +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 tag $REPO_HOST/$REPO_PATH:${{ github.sha }} $REPO_HOST/$REPO_PATH:nightly
docker push $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