Skip to content

Commit

Permalink
🐛 Docker repo names are always closes lowercase #118
Browse files Browse the repository at this point in the history
Using the solution from @adpe

Signed-off-by: Marcus Fihlon <[email protected]>
  • Loading branch information
McPringle committed May 21, 2024
1 parent 01ccafe commit 0bc0672
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,20 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: lowercase-repo
name: Lowercase repository name
run: |
echo "repository=${GITHUB_REPOSITORY@L}" >> $GITHUB_OUTPUT
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${GITHUB_REPOSITORY@L}:nightly
tags: ${{ steps.lowercase-repo.outputs.repository }}:nightly
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${GITHUB_REPOSITORY@L}
repository: ${{ steps.lowercase-repo.outputs.repository }}

0 comments on commit 0bc0672

Please sign in to comment.