mirror of
https://github.com/GothenburgBitFactory/task-timewarrior-hook.git
synced 2025-09-05 23:17:21 +02:00
Use lowercase owner in repository name
This commit is contained in:
parent
a5e98bcc9a
commit
ce448217eb
3 changed files with 32 additions and 18 deletions
8
.github/workflows/tests.yaml
vendored
8
.github/workflows/tests.yaml
vendored
|
@ -39,6 +39,10 @@ jobs:
|
|||
runs-on: ${{ matrix.runner }}
|
||||
continue-on-error: ${{ matrix.continue-on-error == true }}
|
||||
steps:
|
||||
- name: Create lowercase repository name
|
||||
run: |
|
||||
GHCR_REPOSITORY="${{ github.repository_owner }}"
|
||||
echo "REPOSITORY=${GHCR_REPOSITORY,,}" >> ${GITHUB_ENV}
|
||||
- uses: actions/checkout@v3
|
||||
- name : Login to GHCR
|
||||
uses : docker/login-action@v2.1.0
|
||||
|
@ -49,7 +53,7 @@ jobs:
|
|||
- name: Build ${{ matrix.name }}
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
OWNER: ${{ github.repository_owner }}
|
||||
OWNER: ${{ env.REPOSITORY }}
|
||||
GITHUB_USER: ${{ github.repository_owner }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CONTAINER: ${{ matrix.container }}
|
||||
|
@ -57,7 +61,7 @@ jobs:
|
|||
- name: Test ${{ matrix.name }}
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
OWNER: ${{ github.repository_owner }}
|
||||
OWNER: ${{ env.REPOSITORY }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CONTAINER: ${{ matrix.container }}
|
||||
run: docker-compose run ${CONTAINER}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue