Create docker-image.yml
This commit is contained in:
parent
f3bcbbd6ba
commit
55acfc182d
1 changed files with 26 additions and 0 deletions
26
.github/workflows/docker-image.yml
vendored
Normal file
26
.github/workflows/docker-image.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: Docker Image CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Publish Docker Image
|
||||||
|
# You may pin to the exact commit or the version.
|
||||||
|
# uses: elgohr/Publish-Docker-Github-Action@191af57e15535d28b83589e3b5f0c31e76aa8733
|
||||||
|
uses: elgohr/Publish-Docker-Github-Action@3.04
|
||||||
|
with:
|
||||||
|
# The name of the image you would like to push
|
||||||
|
name: surdaft/minecraft-exporter
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
registry: ghcr.io
|
Loading…
Add table
Reference in a new issue