Skip to content

Commit e79d959

Browse files
committed
Ensure we explcitly name the pushed containers
1 parent 76f1ae3 commit e79d959

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
username: ${{ github.actor }}
7070
password: ${{ secrets.GITHUB_TOKEN }}
7171

72+
- id: repo-basename
73+
run: 'echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT'
74+
7275
- name: Publish docs-builder
7376
run: |
7477
dotnet publish "src/docs-builder/docs-builder.csproj" \
@@ -78,7 +81,7 @@ jobs:
7881
-p ContainerBaseImage=${{ env.BASE_IMAGE }} \
7982
-p ContainerRegistry=ghcr.io \
8083
-p ContainerImageTags='"${{ env.DOCKER_TAG }};${{ steps.bootstrap.outputs.full-version }}"' \
81-
-p ContainerRepository=${{ github.repository }} \
84+
-p ContainerRepository=${{ steps.repo-basename.outputs.value }}/docs-builder \
8285
8386
- name: Publish docs-generator
8487
run: |
@@ -89,4 +92,4 @@ jobs:
8992
-p ContainerBaseImage=${{ env.BASE_IMAGE }} \
9093
-p ContainerRegistry=ghcr.io \
9194
-p ContainerImageTags='"${{ env.DOCKER_TAG }};${{ steps.bootstrap.outputs.full-version }}"' \
92-
-p ContainerRepository=${{ github.repository }} \
95+
-p ContainerRepository=${{ steps.repo-basename.outputs.value }}/docs-generator \

0 commit comments

Comments
 (0)