diff --git a/.github/workflows/ci.build.push.yml b/.github/workflows/ci.build.push.yml index 5197daf33cbc713df8bf77883bc9d32a75fc5657..6c761d1d7d1a69020faae5f023f7a49aafb0fd12 100644 --- a/.github/workflows/ci.build.push.yml +++ b/.github/workflows/ci.build.push.yml @@ -70,7 +70,7 @@ jobs: # Alternate Image with alpine - name: Alternate Alpine Build and Push - if: contains(env.DOCKER_BUILD_ENABLED, 'true') && contains(env.DOCKER_BUILD_ALTERNATE_ENABLED, 'true') + if: contains(env.DOCKER_BUILD_ENABLED, 'true') && contains(env.DOCKER_BUILD_ALTERNATE_ENABLED, 'true') && github.ref != 'refs/heads/master' uses: docker/build-push-action@v2 with: file: dockerfiles/v2/alpine @@ -83,7 +83,7 @@ jobs: # Alternate Images for bbb-bionic-230 with amazonlinux - name: Alternate Amazon Linux Build and Push - if: contains(env.DOCKER_BUILD_ENABLED, 'true') && contains(env.DOCKER_BUILD_ALTERNATE_ENABLED, 'true') + if: contains(env.DOCKER_BUILD_ENABLED, 'true') && contains(env.DOCKER_BUILD_ALTERNATE_ENABLED, 'true') && github.ref != 'refs/heads/master' uses: docker/build-push-action@v2 with: file: dockerfiles/v2/amazonlinux diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90a337e05bcd674492f361bcf381a162c044b84c..de3d0b7a1693e2738a1ac6b5e3670a4ea6771d56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,10 @@ env: name: CI on: push: - branches-ignore: "master" + branches-ignore: + - master + - v1 + - v2 pull_request: branches: "*"