diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a467ffe2..90003404 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,15 +7,15 @@ on: jobs: lint_test: - uses: hiepmai-babylonchain/.github/.github/workflows/reusable_go_lint_test.yml@hiep/add-reusable-workflows + uses: babylonchain/.github/.github/workflows/reusable_go_lint_test.yml@hiep/add-reusable-workflows with: run-unit-tests: true run-integration-tests: true run-lint: true - + integration-tests-require-sudo: true docker_pipeline: - uses: hiepmai-babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@hiep/add-reusable-workflows + uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@hiep/add-reusable-workflows secrets: inherit with: publish: false diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..090fd938 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,24 @@ +name: docker_publish + +on: + push: + branches: + - 'hiep/add-github-actions' + tags: + - 'hiep/add-github-actions' + +jobs: + lint_test: + uses: babylonchain/.github/.github/workflows/reusable_go_lint_test.yml@hiep/add-reusable-workflows + with: + run-unit-tests: true + run-integration-tests: true + run-lint: true + integration-tests-require-sudo: true + + docker_pipeline: + uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@hiep/add-reusable-workflows + secrets: inherit + with: + publish: true + dockerfile: ./contrib/images/babylond/Dockerfile \ No newline at end of file