This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
Build Docker toolchain #3
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 Docker toolchain | |
on: | |
- workflow_dispatch | |
jobs: | |
publish_docker_image: | |
name: Build 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 | |
run: | | |
docker build -t "rrdash/tr2x:latest" . -f docker/game-win/Dockerfile | |
docker push "rrdash/tr2x:latest" |