Skip to content

Commit

Permalink
GitHub publish docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
pbevin committed Dec 20, 2020
1 parent c74d9cc commit e9c1025
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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: pbevin/wordfun
tag_with_ref: true

0 comments on commit e9c1025

Please sign in to comment.