From 74075f3ef1911b319f0b3ec8c59b64ce294490d0 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 14 Aug 2021 22:23:17 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20Adds=20action=20to=20build=20Doc?= =?UTF-8?q?ker=20image=20to=20GHCR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Re: #156 --- .github/workflows/docker-publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 8208edf5..1026ecf6 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,8 +1,10 @@ +# Builds a Docker image from with latest tag when master branch is updated +# The publishes it to GitHub container registry as a package name: Build and Publish Docker Image to GHCR on: workflow_dispatch: push: - branches: ['release'] + branches: ['master'] env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} @@ -25,5 +27,5 @@ jobs: uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: context: . - push: false + push: true tags: latest