Create docker-image.yml

This commit is contained in:
William Brawner 2021-02-20 06:59:20 -07:00 committed by GitHub
parent c139a3d33a
commit 41c7006c45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
.github/workflows/docker-image.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Publish Docker image
on:
release:
types: [created]
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: wbrawner/twigs-web/twigs-web
tag_with_ref: true