Start docker container start order (#435) #461
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push docker images | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_web: | |
name: Build image | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_BUILDKIT: 1 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Build and push the image | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
dockerfile: ./deploy/docker/web.Dockerfile | |
repository: mqueryci/mquery-web | |
tags: ${{ github.sha }} | |
push: ${{ github.event_name == 'push' }} | |
build_daemon: | |
name: Build image | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_BUILDKIT: 1 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Build and push the image | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
dockerfile: ./deploy/docker/daemon.Dockerfile | |
repository: mqueryci/mquery-daemon | |
tags: ${{ github.sha }} | |
push: ${{ github.event_name == 'push' }} |