From 906856c1386d1269ee49f6a7cf3758f11ff15c27 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Sat, 8 Jul 2023 18:47:11 +0800 Subject: [PATCH 1/2] refactor(main): auto package Signed-off-by: cuisongliu --- .github/workflows/pages.yml | 2 +- .github/workflows/release.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 8b55df2..0525766 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -8,7 +8,7 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - + workflow_call: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9a9238..bc4ebb8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,3 +97,8 @@ jobs: -t ${DOCKER_REPO}:latest \ -f dockerfiles/cepctl/Dockerfile \ . + + call_ci_workflow: + uses: ./.github/workflows/pages.yml + with: + arch: amd64,arm64 From 020ee43e3cb804e772e1ea31a910b9a2fff31d66 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Sat, 8 Jul 2023 19:18:38 +0800 Subject: [PATCH 2/2] refactor(main): auto package Signed-off-by: cuisongliu --- .github/workflows/pr.yml | 2 +- .github/workflows/push.yml | 2 +- .github/workflows/release.yml | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9271c1e..66aee8c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,4 +1,4 @@ -name: Go +name: Go for PR on: pull_request: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3d88bc9..b4d30a9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,4 +1,4 @@ -name: Go +name: Go for Push on: push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc4ebb8..402072e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,5 +100,3 @@ jobs: call_ci_workflow: uses: ./.github/workflows/pages.yml - with: - arch: amd64,arm64