From 9821b2be251bf4ca0fcc9f0eacfb50395b49fb5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20Hjortsh=C3=B8j?= Date: Tue, 11 Feb 2020 21:52:10 +0100 Subject: [PATCH] Create dockerimage.yml --- .github/workflows/dockerimage.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/dockerimage.yml diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml new file mode 100644 index 000000000..01f7c15bd --- /dev/null +++ b/.github/workflows/dockerimage.yml @@ -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