From a9968c7e83268699181d099793a8ab36b35ef51e Mon Sep 17 00:00:00 2001 From: Hiep Mai Date: Tue, 27 Aug 2024 11:16:05 +0700 Subject: [PATCH] test publish --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5633b27c..d7080e90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,11 @@ jobs: run-integration-tests: true run-lint: true run-build: true - go-private-repos: "github.com/babylonlabs-io/babylon-private" + go-private-repos-authentication: true docker_pipeline: uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@hiep/go-pull-private secrets: inherit with: publish: false - go-private-repos: "github.com/babylonlabs-io/babylon-private" + go-private-repos-authentication: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9fa69f46..e812c367 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,20 +5,24 @@ on: branches: - 'main' - 'dev' + - 'hiep/support-private-repo' tags: - '*' jobs: lint_test: - uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 + uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@hiep/go-pull-private with: run-unit-tests: true run-integration-tests: true run-lint: true + run-build: true + go-private-repos-authentication: true docker_pipeline: needs: ["lint_test"] - uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 + uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@hiep/go-pull-private secrets: inherit with: publish: true + go-private-repos-authentication: true