moth/.github/workflows/publish.yml

21 lines
514 B
YAML
Raw Normal View History

2020-09-14 14:14:10 -06:00
name: Publish Container image
on:
release:
types: [published]
jobs:
publish:
name: Publish Container Image
runs-on: ubuntu-latest
steps:
- name: Retrieve code
uses: actions/checkout@v1
- 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: dirtbags/moth/moth
tag_with_ref: true