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