mirror of
https://github.com/LostArtefacts/TR2X.git
synced 2025-01-09 06:50:23 +00:00
27 lines
642 B
YAML
27 lines
642 B
YAML
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"
|