Skip to content

Build Docker toolchain #6

Build Docker toolchain

Build Docker toolchain #6

Workflow file for this run

name: Build Docker toolchain
on:
- workflow_dispatch
jobs:
publish_docker_image_win:
name: Build Windows Docker toolchain
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Checkout code
uses: actions/checkout@v2
with:
path: .
fetch-depth: 0
- name: Build Docker image (Windows)
run: |
docker build -t "rrdash/tomb1main:latest" . -f docker/game-win/Dockerfile
docker push "rrdash/tomb1main:latest"
publish_docker_image_linux:
name: Build Linux Docker toolchain
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Checkout code
uses: actions/checkout@v2
with:
path: .
fetch-depth: 0
- name: Build Docker image (Linux)
run: |
docker build -t "rrdash/tomb1main-linux:latest" . -f docker/game-linux/Dockerfile
docker push "rrdash/tomb1main-linux:latest"