Create dockerimage.yml

This commit is contained in:
Mikkel Hjortshøj
2020-02-11 21:52:10 +01:00
committed by GitHub
parent 49b42f585c
commit 9821b2be25

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

@@ -0,0 +1,19 @@
name: Docker Image CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag vpbot:dev
- name: Docker Publish
uses: manusa/actions-publish-docker@v1.0.1
with:
name: vpbot
tag: dev
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com