Skip to content

Merge pull request #7 from KillahB33/fix-restart #10

Merge pull request #7 from KillahB33/fix-restart

Merge pull request #7 from KillahB33/fix-restart #10

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
env:
SPT_VERSION: 3.9.8
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --build-arg SPT_VERSION=${{ env.SPT_VERSION }} --tag ghcr.io/killahb33/spt-manager:${{ env.SPT_VERSION }}
- name: Login to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push Docker image
run: |
docker push ghcr.io/killahb33/spt-manager:${{ env.SPT_VERSION }}