From b4ff59993ef6aef16684f7e6ac1321af5d230cb2 Mon Sep 17 00:00:00 2001 From: CeerDecy <79098669+CeerDecy@users.noreply.github.com> Date: Thu, 26 Sep 2024 15:31:31 +0800 Subject: [PATCH] feat: add dice yml (#93) * feat: build dual arch image * feat: update pipeline to support multi-arch build * feat: release action * feat: release action * feat: add dice yaml * feat: update dice yml --- dice.yml | 9 +++++++++ pipeline.yml | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 dice.yml diff --git a/dice.yml b/dice.yml new file mode 100644 index 0000000..7ba5697 --- /dev/null +++ b/dice.yml @@ -0,0 +1,9 @@ +jobs: {} +services: + dice-operator: + deployments: + replicas: 0 + resources: + cpu: 0.1 + mem: 128 +version: "2.0" \ No newline at end of file diff --git a/pipeline.yml b/pipeline.yml index 7ec0aed..bda0141 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -41,6 +41,7 @@ stages: description: 用于打包完成时,向dicehub 提交完整可部署的dice.yml。用户若没在pipeline.yml里定义该action,CI会自动在pipeline.yml里插入该action version: "1.0" params: + dice_yml: ${{ dirs.erda-operator }}/dice.yml image: - erda-operator: ${{ outputs.dockerfile.image }} + dice-operator: ${{ outputs.dockerfile.image }} tag_version: ${{ outputs.extract-repo-version.version }} \ No newline at end of file