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