Skip to content

Commit fd7d9f0

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

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ 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-
7572
- name: Publish docs-builder
7673
run: |
7774
dotnet publish "src/docs-builder/docs-builder.csproj" \
@@ -81,7 +78,8 @@ jobs:
8178
-p ContainerBaseImage=${{ env.BASE_IMAGE }} \
8279
-p ContainerRegistry=ghcr.io \
8380
-p ContainerImageTags='"${{ env.DOCKER_TAG }};${{ steps.bootstrap.outputs.full-version }}"' \
84-
-p ContainerRepository=${{ steps.repo-basename.outputs.value }}/docs-builder \
81+
-p ContainerRepository=${{ github.repository }} \
82+
-p ContainerImageName=docs-builder
8583
8684
- name: Publish docs-generator
8785
run: |
@@ -92,4 +90,5 @@ jobs:
9290
-p ContainerBaseImage=${{ env.BASE_IMAGE }} \
9391
-p ContainerRegistry=ghcr.io \
9492
-p ContainerImageTags='"${{ env.DOCKER_TAG }};${{ steps.bootstrap.outputs.full-version }}"' \
95-
-p ContainerRepository=${{ steps.repo-basename.outputs.value }}/docs-generator \
93+
-p ContainerRepository=${{ github.repository }} \
94+
-p ContainerImageName=docs-generator

0 commit comments

Comments
 (0)