Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Daranix committed Jun 25, 2023
1 parent 8a59450 commit 5608b8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set Owner name to LowerCase
id: lower_case
run: |
echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV}
echo "REPOSITORY_LC=${REPOSITORY,,}" >>${GITHUB_ENV}
echo "::set-output name=ownerlc::$OWNER_LC"
echo "::set-output name=repositorylc::$REPOSITORY_LC"
env:
OWNER: "${{ github.repository_owner }}"
REPOSITORY: "${{ github.repository }}"
Expand All @@ -31,4 +34,4 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/$OWNER_LC/$REPOSITORY_LC:latest
tags: ghcr.io/${{ steps.lower_case.outputs.ownerlc }}/${{ steps.lower_case.outputs.repositorylc }}:latest

0 comments on commit 5608b8e

Please sign in to comment.