From 113838d21c16759c2468f1b1f0f274c2cc436b1f Mon Sep 17 00:00:00 2001 From: mscherer Date: Thu, 20 Jul 2023 01:06:58 +0200 Subject: [PATCH] Fix release-image.yml (#92) After moving the workflow to a new file, it seems the environment wasn't copied. So the images variable was set to "/", and so it failed with the error " buildx failed with: ERROR: invalid tag "/:0.6.6": invalid reference format" --- .github/workflows/release-image.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index 7ab991d..f09cdab 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -4,6 +4,10 @@ on: release: types: [published] +env: + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} + jobs: push_to_registry: name: Push Docker image to GHCR