Skip to content

Commit b31b988

Browse files
committed
Fix docker image generation: A lowercase name is required
1 parent da0507c commit b31b988

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/build_and_publish_software.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
env:
88
REGISTRY: ghcr.io
9-
IMAGE_NAME: ${{ github.repository }}
9+
IMAGE_NAME_LOWER: ${{ github.repository | toLower }}-software
1010

1111
jobs:
1212
build-and-push-image:
@@ -30,5 +30,4 @@ jobs:
3030
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
3131
with:
3232
context: "{{defaultContext}}:software"
33-
push: true
34-
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
33+
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_LOWER }}:latest

0 commit comments

Comments
 (0)