build(docker): test docker builds in pull request CI (#2661)

This commit is contained in:
Harshal Sheth 2021-06-08 09:47:32 -07:00 committed by GitHub
parent 83c5259d14
commit 2f7b4f9def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 8 deletions

View File

@ -46,7 +46,6 @@ jobs:
push_to_registries:
name: Build and Push Docker Image to Docker Hub
runs-on: ubuntu-latest
if: ${{ needs.setup.outputs.publish == 'true' }}
needs: setup
steps:
- name: Check out the repo
@ -62,6 +61,7 @@ jobs:
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Login to DockerHub
if: ${{ needs.setup.outputs.publish == 'true' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}

View File

@ -43,7 +43,6 @@ jobs:
push_to_registries:
name: Build and Push Docker Image to Docker Hub
runs-on: ubuntu-latest
if: ${{ needs.setup.outputs.publish == 'true' }}
needs: setup
steps:
- name: Check out the repo
@ -59,6 +58,7 @@ jobs:
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Login to DockerHub
if: ${{ needs.setup.outputs.publish == 'true' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}

View File

@ -45,7 +45,6 @@ jobs:
push_to_registries:
name: Build and Push Docker Image to Docker Hub
runs-on: ubuntu-latest
if: ${{ needs.setup.outputs.publish == 'true' }}
needs: setup
steps:
- name: Check out the repo
@ -61,6 +60,7 @@ jobs:
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Login to DockerHub
if: ${{ needs.setup.outputs.publish == 'true' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}

View File

@ -45,7 +45,6 @@ jobs:
push_to_registries:
name: Build and Push Docker Image to Docker Hub
runs-on: ubuntu-latest
if: ${{ needs.setup.outputs.publish == 'true' }}
needs: setup
steps:
- name: Check out the repo
@ -61,6 +60,7 @@ jobs:
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Login to DockerHub
if: ${{ needs.setup.outputs.publish == 'true' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}

View File

@ -45,7 +45,6 @@ jobs:
push_to_registries:
name: Build and Push Docker Image to Docker Hub
runs-on: ubuntu-latest
if: ${{ needs.setup.outputs.publish == 'true' }}
needs: setup
steps:
- name: Check out the repo
@ -61,6 +60,7 @@ jobs:
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Login to DockerHub
if: ${{ needs.setup.outputs.publish == 'true' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}

View File

@ -42,7 +42,6 @@ jobs:
push_to_registries:
name: Build and Push Docker Image to Docker Hub
runs-on: ubuntu-latest
if: ${{ needs.setup.outputs.publish == 'true' }}
needs: setup
steps:
- name: Check out the repo
@ -58,6 +57,7 @@ jobs:
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Login to DockerHub
if: ${{ needs.setup.outputs.publish == 'true' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}

View File

@ -45,7 +45,6 @@ jobs:
push_to_registries:
name: Build and Push Docker Image to Docker Hub
runs-on: ubuntu-latest
if: ${{ needs.setup.outputs.publish == 'true' }}
needs: setup
steps:
- name: Check out the repo
@ -61,6 +60,7 @@ jobs:
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Login to DockerHub
if: ${{ needs.setup.outputs.publish == 'true' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}

View File

@ -45,7 +45,6 @@ jobs:
push_to_registries:
name: Build and Push Docker Image to Docker Hub
runs-on: ubuntu-latest
if: ${{ needs.setup.outputs.publish == 'true' }}
needs: setup
steps:
- name: Check out the repo
@ -61,6 +60,7 @@ jobs:
tag-custom: ${{ needs.setup.outputs.tag }}
tag-custom-only: true
- name: Login to DockerHub
if: ${{ needs.setup.outputs.publish == 'true' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}