Files
Bubberstation/.github/workflows/docker_publish.yml
Lars Gohr 98c02c8454 Updated elgohr/Publish-Docker-Github-Action to a supported version (v5) (#74370)
elgohr/Publish-Docker-Github-Action@master is not supported anymore
2023-03-30 10:04:45 -07:00

21 lines
555 B
YAML

name: Docker Build
on:
schedule:
- cron: "19 1 * * *"
workflow_dispatch:
jobs:
publish:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Build and Publish Docker Image to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: tgstation/tgstation
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: Dockerfile
tags: "latest"