From f3340c1a8d7c00a72cc83fb6d5819c21fe839d95 Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Thu, 7 Mar 2024 15:54:04 +0800 Subject: [PATCH] add workflows/build-chart-builder --- .github/workflows/build-chart-builder.yml | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/build-chart-builder.yml diff --git a/.github/workflows/build-chart-builder.yml b/.github/workflows/build-chart-builder.yml new file mode 100644 index 0000000..d5265b0 --- /dev/null +++ b/.github/workflows/build-chart-builder.yml @@ -0,0 +1,32 @@ +name: build & push ci base images + +on: + push: + branches: + - main + paths: + - '.github/workflows/build-chart-builder.yml' + pull_request: + branches: + - main + paths: + - '.github/workflows/build-chart-builder.yml' + workflow_dispatch: + branches: + - main +env: + IMAGE_REPO: "artifact.onwalk.net" + +jobs: + build-chart-builder: + name: Build chart builder image + uses: svc-design/actions/.github/workflows/build-images.yaml@main + with: + method: 'docker/node' + registry_addr: "artifact.onwalk.net" + image_name: 'public/base/alpine-chart-builder' + image_tag: 'latest' + dockerfile_path: 'oci/base/alpine-chart-builder' + secrets: + artifactory_sa: ${{ secrets.REPO_USER }} + artifactory_pw: ${{ secrets.HELM_REPO_PASSWORD }}