From 8a61cbf727dec4fb818665b8d8c17412d2371d3b Mon Sep 17 00:00:00 2001 From: merith-tk Date: Sun, 3 Nov 2024 14:07:53 -0800 Subject: [PATCH] add nightly build --- .forgejo/workflows/build-on-commit.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build-on-commit.yml b/.forgejo/workflows/build-on-commit.yml index bd3f5c9..419e7a5 100644 --- a/.forgejo/workflows/build-on-commit.yml +++ b/.forgejo/workflows/build-on-commit.yml @@ -25,7 +25,8 @@ jobs: run: | # Build Docker image 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 # Remove the local image to save storage