diff --git a/.github/workflows/push_dockerhub.yml b/.github/workflows/push_dockerhub.yml index 50015ed..d232175 100644 --- a/.github/workflows/push_dockerhub.yml +++ b/.github/workflows/push_dockerhub.yml @@ -1,6 +1,9 @@ name: Dockerhub Release on: + push: + branches: + - main pull_request: branches: - main @@ -9,7 +12,7 @@ jobs: tests: uses: ./.github/workflows/test_docker.yml secrets: inherit - build_and_push: + push_dockerhub: needs: [tests] runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test_docker.yml b/.github/workflows/test_docker.yml index 879eb62..85dcf9c 100644 --- a/.github/workflows/test_docker.yml +++ b/.github/workflows/test_docker.yml @@ -1,6 +1,10 @@ name: Run Tests -on: [push, pull_request, workflow_call] +on: + push: + branches-ignore: + - main + workflow_call: jobs: test_page_initiation: