Skip to content

Commit

Permalink
build: parallelize docker image builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mars-lan committed May 29, 2020
1 parent 944ef7d commit bbf7545
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 43 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build and publish frontend docker images to docker hub
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
dockerfile: ./docker/frontend/Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: linkedin/datahub-frontend
tags: latest
18 changes: 18 additions & 0 deletions .github/workflows/docker-gms.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build and publish gms docker images to docker hub
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
dockerfile: ./docker/gms/Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: linkedin/datahub-gms
tags: latest
18 changes: 18 additions & 0 deletions .github/workflows/docker-mae-consumer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build and publish mae-consumer docker images to docker hub
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
dockerfile: ./docker/mae-consumer/Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: linkedin/datahub-mae-consumer
tags: latest
18 changes: 18 additions & 0 deletions .github/workflows/docker-mce-consumer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build and publish mce-consumer docker images to docker hub
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
dockerfile: ./docker/mce-consumer/Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: linkedin/datahub-mce-consumer
tags: latest
43 changes: 0 additions & 43 deletions .github/workflows/docker.yml

This file was deleted.

0 comments on commit bbf7545

Please sign in to comment.