2020-02-28 14:52:25 -07:00
|
|
|
name: Mothd Docker build
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-mothd:
|
|
|
|
name: Build mothd
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Retrieve code
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Build mothd
|
2020-09-11 21:24:24 -06:00
|
|
|
run: docker build .
|
2020-09-14 14:05:34 -06:00
|
|
|
- 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
|