Game Docker Build And Push #102
Workflow file for this run
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: Game Docker Build And Push | |
on: | |
workflow_run: | |
workflows: [Game Service Build] | |
types: [completed] | |
jobs: | |
on-success: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Setup Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login To DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build And Push | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./src/game-service/Game.Application | |
file: ./src/game-service/Game.Application/Dockerfile | |
push: true | |
tags: maplefighters/game-service:latest |