Skip to content

Compiling New Docker Image of Class Forge #1

Compiling New Docker Image of Class Forge

Compiling New Docker Image of Class Forge #1

name: Compile New Docker Image
run-name: Compiling New Docker Image of Class Forge
on:
push:
paths:
- 'Dockerfile'
jobs:
CompileAndUploadDockerImage:
runs-on: ubuntu-latest
steps:
# Clone class-forge repo locally
- run: git clone https://github.com/mario872/class-forge
# Log into Docker Hub
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# Run upload-docker.py
- run: python upload-docker.py
working-directory: ./class-forge