mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-26 09:35:23 +00:00
build(docker): test docker builds in pull request CI (#2661)
This commit is contained in:
parent
83c5259d14
commit
2f7b4f9def
2
.github/workflows/docker-datahub-upgrade.yml
vendored
2
.github/workflows/docker-datahub-upgrade.yml
vendored
@ -46,7 +46,6 @@ jobs:
|
|||||||
push_to_registries:
|
push_to_registries:
|
||||||
name: Build and Push Docker Image to Docker Hub
|
name: Build and Push Docker Image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
@ -62,6 +61,7 @@ jobs:
|
|||||||
tag-custom: ${{ needs.setup.outputs.tag }}
|
tag-custom: ${{ needs.setup.outputs.tag }}
|
||||||
tag-custom-only: true
|
tag-custom-only: true
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
|
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
@ -43,7 +43,6 @@ jobs:
|
|||||||
push_to_registries:
|
push_to_registries:
|
||||||
name: Build and Push Docker Image to Docker Hub
|
name: Build and Push Docker Image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
@ -59,6 +58,7 @@ jobs:
|
|||||||
tag-custom: ${{ needs.setup.outputs.tag }}
|
tag-custom: ${{ needs.setup.outputs.tag }}
|
||||||
tag-custom-only: true
|
tag-custom-only: true
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
|
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
2
.github/workflows/docker-frontend-react.yml
vendored
2
.github/workflows/docker-frontend-react.yml
vendored
@ -45,7 +45,6 @@ jobs:
|
|||||||
push_to_registries:
|
push_to_registries:
|
||||||
name: Build and Push Docker Image to Docker Hub
|
name: Build and Push Docker Image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
@ -61,6 +60,7 @@ jobs:
|
|||||||
tag-custom: ${{ needs.setup.outputs.tag }}
|
tag-custom: ${{ needs.setup.outputs.tag }}
|
||||||
tag-custom-only: true
|
tag-custom-only: true
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
|
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
2
.github/workflows/docker-gms.yml
vendored
2
.github/workflows/docker-gms.yml
vendored
@ -45,7 +45,6 @@ jobs:
|
|||||||
push_to_registries:
|
push_to_registries:
|
||||||
name: Build and Push Docker Image to Docker Hub
|
name: Build and Push Docker Image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
@ -61,6 +60,7 @@ jobs:
|
|||||||
tag-custom: ${{ needs.setup.outputs.tag }}
|
tag-custom: ${{ needs.setup.outputs.tag }}
|
||||||
tag-custom-only: true
|
tag-custom-only: true
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
|
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
2
.github/workflows/docker-ingestion.yml
vendored
2
.github/workflows/docker-ingestion.yml
vendored
@ -45,7 +45,6 @@ jobs:
|
|||||||
push_to_registries:
|
push_to_registries:
|
||||||
name: Build and Push Docker Image to Docker Hub
|
name: Build and Push Docker Image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
@ -61,6 +60,7 @@ jobs:
|
|||||||
tag-custom: ${{ needs.setup.outputs.tag }}
|
tag-custom: ${{ needs.setup.outputs.tag }}
|
||||||
tag-custom-only: true
|
tag-custom-only: true
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
|
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
2
.github/workflows/docker-kafka-setup.yml
vendored
2
.github/workflows/docker-kafka-setup.yml
vendored
@ -42,7 +42,6 @@ jobs:
|
|||||||
push_to_registries:
|
push_to_registries:
|
||||||
name: Build and Push Docker Image to Docker Hub
|
name: Build and Push Docker Image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
@ -58,6 +57,7 @@ jobs:
|
|||||||
tag-custom: ${{ needs.setup.outputs.tag }}
|
tag-custom: ${{ needs.setup.outputs.tag }}
|
||||||
tag-custom-only: true
|
tag-custom-only: true
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
|
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
2
.github/workflows/docker-mae-consumer.yml
vendored
2
.github/workflows/docker-mae-consumer.yml
vendored
@ -45,7 +45,6 @@ jobs:
|
|||||||
push_to_registries:
|
push_to_registries:
|
||||||
name: Build and Push Docker Image to Docker Hub
|
name: Build and Push Docker Image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
@ -61,6 +60,7 @@ jobs:
|
|||||||
tag-custom: ${{ needs.setup.outputs.tag }}
|
tag-custom: ${{ needs.setup.outputs.tag }}
|
||||||
tag-custom-only: true
|
tag-custom-only: true
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
|
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
2
.github/workflows/docker-mce-consumer.yml
vendored
2
.github/workflows/docker-mce-consumer.yml
vendored
@ -45,7 +45,6 @@ jobs:
|
|||||||
push_to_registries:
|
push_to_registries:
|
||||||
name: Build and Push Docker Image to Docker Hub
|
name: Build and Push Docker Image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ needs.setup.outputs.publish == 'true' }}
|
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
@ -61,6 +60,7 @@ jobs:
|
|||||||
tag-custom: ${{ needs.setup.outputs.tag }}
|
tag-custom: ${{ needs.setup.outputs.tag }}
|
||||||
tag-custom-only: true
|
tag-custom-only: true
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
|
if: ${{ needs.setup.outputs.publish == 'true' }}
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user