From 4be0e11cd34e3b882a5ec3e07227b68416abb491 Mon Sep 17 00:00:00 2001 From: Elliot Matson <1711604+elliotmatson@users.noreply.github.com> Date: Wed, 31 Aug 2022 08:26:50 -0500 Subject: [PATCH] fix env's --- .github/workflows/docker.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6d0ca23..6662d86 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -15,6 +15,11 @@ on: release: types: [published, edited] workflow_dispatch: + +env: + REGISTRY: ghcr.io + IMAGE_NAME: elliotmatson/pgadmin-config-creator + DOCKER_IMAGE: elliotmatson/docker-davinci-resolve-project-server jobs: build-and-push-image: @@ -51,8 +56,8 @@ jobs: uses: docker/metadata-action@69f6fc9d46f2f8bf0d5491e4aabe0bb8c6a4678a with: images: | - ghcr.io/elliotmatson/pgadmin-config-creator - elliotmatson/docker-davinci-resolve-project-server + ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + ${{ env.DOCKER_IMAGE }} tags: | type=ref,event=branch type=ref,event=pr