Skip to content

Commit

Permalink
Ensure we explcitly name the pushed containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Dec 9, 2024
1 parent 76f1ae3 commit e79d959
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- id: repo-basename
run: 'echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT'

- name: Publish docs-builder
run: |
dotnet publish "src/docs-builder/docs-builder.csproj" \
Expand All @@ -78,7 +81,7 @@ jobs:
-p ContainerBaseImage=${{ env.BASE_IMAGE }} \
-p ContainerRegistry=ghcr.io \
-p ContainerImageTags='"${{ env.DOCKER_TAG }};${{ steps.bootstrap.outputs.full-version }}"' \
-p ContainerRepository=${{ github.repository }} \
-p ContainerRepository=${{ steps.repo-basename.outputs.value }}/docs-builder \
- name: Publish docs-generator
run: |
Expand All @@ -89,4 +92,4 @@ jobs:
-p ContainerBaseImage=${{ env.BASE_IMAGE }} \
-p ContainerRegistry=ghcr.io \
-p ContainerImageTags='"${{ env.DOCKER_TAG }};${{ steps.bootstrap.outputs.full-version }}"' \
-p ContainerRepository=${{ github.repository }} \
-p ContainerRepository=${{ steps.repo-basename.outputs.value }}/docs-generator \

0 comments on commit e79d959

Please sign in to comment.