mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
nit
This commit is contained in:
parent
a4334387be
commit
4bf1a3e61d
1 changed files with 1 additions and 3 deletions
4
.github/workflows/ghcr-publish.yml
vendored
4
.github/workflows/ghcr-publish.yml
vendored
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue