From d79f83bc33379cb4f64ee85e2b79a41229d2680f Mon Sep 17 00:00:00 2001 From: merlin Date: Sun, 2 Nov 2025 01:13:37 +0800 Subject: [PATCH] fix(ci): update builder image --- .gitea/workflows/{main.yaml => dev.yaml} | 6 ++++-- .gitea/workflows/tag.yaml | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) rename .gitea/workflows/{main.yaml => dev.yaml} (86%) diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/dev.yaml similarity index 86% rename from .gitea/workflows/main.yaml rename to .gitea/workflows/dev.yaml index c374c4e..abf8730 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/dev.yaml @@ -2,13 +2,13 @@ name: Docker Image CI on: push: branches: - - main + - dev jobs: build: runs-on: gitea-official-runner container: - image: harbor.merlin.xin/testing/merlin/builder:v0.0.0 + image: harbor.merlin.xin/release/merlin/builder:v0.0.1 steps: - name: Checkout code uses: actions/checkout@v4 @@ -31,3 +31,5 @@ jobs: echo "Pushing image: ${IMAGE_NAME}" docker push ${IMAGE_NAME} echo "Successfully pushed: ${IMAGE_NAME}" + docker rmi ${IMAGE_NAME} + echo "cleaned up local image" diff --git a/.gitea/workflows/tag.yaml b/.gitea/workflows/tag.yaml index b54e102..7b6e7fd 100644 --- a/.gitea/workflows/tag.yaml +++ b/.gitea/workflows/tag.yaml @@ -8,7 +8,7 @@ jobs: build: runs-on: gitea-official-runner container: - image: harbor.merlin.xin/testing/merlin/builder:v0.0.0 + image: harbor.merlin.xin/release/merlin/builder:v0.0.1 steps: - name: Checkout code uses: actions/checkout@v4 @@ -30,3 +30,5 @@ jobs: echo "Pushing image: ${IMAGE_NAME}" docker push ${IMAGE_NAME} echo "Successfully pushed: ${IMAGE_NAME}" + docker rmi ${IMAGE_NAME} + echo "cleaned up local image"