diff --git a/.github/workflows/ghcr-publish.yml b/.github/workflows/ghcr-publish.yml index 40f8f3e1..e2b7418b 100644 --- a/.github/workflows/ghcr-publish.yml +++ b/.github/workflows/ghcr-publish.yml @@ -18,8 +18,6 @@ on: env: # Use docker.io for Docker Hub if empty REGISTRY: ghcr.io - # github.repository as / - IMAGE_NAME: ${{ github.repository }} jobs: @@ -41,7 +39,7 @@ jobs: - name: Prepare id: prep run: | - DOCKER_IMAGE=${REGISTRY}/${IMAGE_NAME} + DOCKER_IMAGE=${REGISTRY}/${{ github.repository_owner }}/sourcebot VERSION=latest if [[ $GITHUB_REF == refs/tags/* ]]; then VERSION=${GITHUB_REF#refs/tags/v}