diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..abbc3cf --- /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: false + run-lint: false + + docker_pipeline: + needs: ["lint_test"] + uses: babylonchain/.github/.github/workflows/reusable_docker_pipeline.yml@hiep/add-reusable-workflows + secrets: inherit + with: + publish: true + dockerfile: ./contrib/images/staking-api-service/Dockerfile \ No newline at end of file