From 63ceffaaa1bc55e1bf7c1c5faff19b2ec43913ab Mon Sep 17 00:00:00 2001 From: merith-tk Date: Sun, 3 Nov 2024 13:53:27 -0800 Subject: [PATCH] build nightly off commit --- .forgejo/workflows/build-on-commit.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/build-on-commit.yml b/.forgejo/workflows/build-on-commit.yml index d6dbdf2..bd3f5c9 100644 --- a/.forgejo/workflows/build-on-commit.yml +++ b/.forgejo/workflows/build-on-commit.yml @@ -25,6 +25,8 @@ jobs: run: | # Build Docker image 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 docker rmi $REPO_HOST/$REPO_PATH:${{ github.sha }}