Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Feb 22, 2024
1 parent 768e9fd commit cbec59d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,13 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: downcase GITHUB_REPOSITORY
run: |
echo "REPOSITORY_LOWERCASE=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./src/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:latest
tags: ghcr.io/nager/${REPOSITORY_LOWERCASE}:latest

0 comments on commit cbec59d

Please sign in to comment.