Skip to content

Commit 9ca004b

Browse files
authored
Merge pull request #3 from guix77/dev
fix image name & tag
2 parents 15c98ec + 1d2589b commit 9ca004b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
REGISTRY: ghcr.io
11-
IMAGE_NAME: ${{ github.repository }}
11+
IMAGE_NAME: ${{ github.repository_owner }}/gptkit
1212

1313
jobs:
1414
build:
@@ -35,6 +35,10 @@ jobs:
3535
uses: docker/metadata-action@v5
3636
with:
3737
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
38+
tags: |
39+
type=raw,value=latest
40+
type=ref,event=branch
41+
type=sha
3842
3943
- name: Build and push Docker image
4044
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)