From e9ab3490f57d756ced98e3012f1310b899d6c373 Mon Sep 17 00:00:00 2001 From: Daniel Emery Date: Tue, 27 Feb 2024 11:28:29 +0100 Subject: [PATCH] Fix registry and image name --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94337bd..c7ae068 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,6 +6,10 @@ on: pull_request: # TODO remove this line after testing branches: ["main"] +env: + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} + jobs: build: runs-on: ubuntu-latest @@ -31,6 +35,6 @@ jobs: with: context: . push: true - tags: ${{ env.RELEASE_VERSION }} + tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.RELEASE_VERSION }} build-args: | APP_VERSION=${{ env.RELEASE_VERSION }}