This commit is contained in:
bkellam 2024-09-05 18:50:24 -07:00
parent a4334387be
commit 4bf1a3e61d

View file

@ -18,8 +18,6 @@ on:
env: env:
# Use docker.io for Docker Hub if empty # Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs: jobs:
@ -41,7 +39,7 @@ jobs:
- name: Prepare - name: Prepare
id: prep id: prep
run: | run: |
DOCKER_IMAGE=${REGISTRY}/${IMAGE_NAME} DOCKER_IMAGE=${REGISTRY}/${{ github.repository_owner }}/sourcebot
VERSION=latest VERSION=latest
if [[ $GITHUB_REF == refs/tags/* ]]; then if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/v} VERSION=${GITHUB_REF#refs/tags/v}