Skip to content

Commit

Permalink
lower
Browse files Browse the repository at this point in the history
  • Loading branch information
PastaPastaPasta committed Aug 1, 2024
1 parent 17bb5dc commit 8118962
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ jobs:
- name: Prepare
id: prepare
run: |
echo "::set-output name=image-tag::$(echo ${GITHUB_REF##*/} | tr '[:upper:]' '[:lower:]')"
BRANCH_NAME=$(echo "${GITHUB_REF##*/}" | tr '[:upper:]' '[:lower:]')
REPO_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
echo "::set-output name=image-tag::${BRANCH_NAME}"
echo "::set-output name=repo-name::${REPO_NAME}"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand All @@ -43,7 +46,7 @@ jobs:
context: ./contrib/containers/ci
file: ./contrib/containers/ci/Dockerfile
push: true
tags: ghcr.io/${{ github.repository | lower }}/builder:${{ steps.prepare.outputs.image-tag }}
tags: ghcr.io/${{ steps.prepare.outputs.repo-name }}/builder:${{ steps.prepare.outputs.image-tag }}

build-depends:
name: Build Dependencies
Expand Down

0 comments on commit 8118962

Please sign in to comment.