From 8c798803bc05c640d6e0c22b5bfd52d909f088e5 Mon Sep 17 00:00:00 2001 From: tatakai <150361932+ttktatakai@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:08:16 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ccb474..88ab6d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,8 @@ jobs: cd backend docker build . --file Dockerfile --tag registry.cn-hangzhou.aliyuncs.com/veops/oneterm-api:latest docker push registry.cn-hangzhou.aliyuncs.com/veops/oneterm-api:latest + docker build . --file Dockerfile --tag registry.cn-hangzhou.aliyuncs.com/veops/oneterm-api:${{github.ref_name}} + docker push registry.cn-hangzhou.aliyuncs.com/veops/oneterm-api:${{github.ref_name}} build-ui: runs-on: ubuntu-latest steps: @@ -26,3 +28,5 @@ jobs: cd oneterm-ui docker build . --file Dockerfile --tag registry.cn-hangzhou.aliyuncs.com/veops/oneterm-ui:latest docker push registry.cn-hangzhou.aliyuncs.com/veops/oneterm-ui:latest + docker build . --file Dockerfile --tag registry.cn-hangzhou.aliyuncs.com/veops/oneterm-ui:${{github.ref_name}} + docker push registry.cn-hangzhou.aliyuncs.com/veops/oneterm-ui:${{github.ref_name}}