Create dockerpub2.yml

This commit is contained in:
Alex 2020-05-15 14:41:36 -05:00 committed by GitHub
parent 082a81e38c
commit 5bb93919d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

19
.github/workflows/dockerpub2.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Publish Docker image
on:
release:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Packages
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: techniclor-creamsicle/osselbot/osselbot
tag_with_ref: true