Skip to content

Commit

Permalink
make dockerOrg lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Dec 10, 2023
1 parent d1eb360 commit 75fd6f6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -463,12 +463,12 @@ runs:
echo $version
echo "BASE_IMAGE=${{ matrix.config.cont }}" >> $GITHUB_ENV
#### Ensure dockerOrg is lowercase ####
if inputs.docker_registry=="ghcr.io"; then
dockerOrg=${{ github.repository_owner }}
if inputs.docker_registry=="ghcr.io";
then
echo "dockerOrg=${{ github.repository_owner,, }}" >> $GITHUB_ENV
else
dockerOrg=${{ inputs.docker_org }}
echo "dockerOrg=${{ inputs.docker_org,, }}" >> $GITHUB_ENV
fi
echo "dockerOrg=${{ dockerOrg,, }}" >> $GITHUB_ENV
shell: bash {0}

- name: 📦 Render README
Expand Down Expand Up @@ -529,7 +529,7 @@ runs:
username: ${{ github.repository_owner }}
password: ${{ inputs.GITHUB_TOKEN }}
registry: ${{ inputs.docker_registry }}
repository: ${{ github.repository_owner }}/${{ env.packageName }}
repository: ${{ env.dockerOrg }}/${{ env.packageName }}
tag_with_ref: true
tag_with_sha: false
tags: |
Expand All @@ -548,7 +548,7 @@ runs:
with:
username: ${{ inputs.docker_user }}
password: ${{ inputs.DOCKER_TOKEN }}
repository: ${{ inputs.docker_org }}/${{ env.packageName }}
repository: ${{ env.dockerOrg }}/${{ env.packageName }}
tag_with_ref: true
tag_with_sha: false
tags: |
Expand Down

0 comments on commit 75fd6f6

Please sign in to comment.