From 29af83d292a2fa251eb80d73bfa1d07edc0234ac Mon Sep 17 00:00:00 2001 From: merith-tk Date: Sun, 3 Nov 2024 13:52:14 -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 }}