workflow fix again
This commit is contained in:
@@ -19,6 +19,12 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set lowercase owner name
|
||||
run: |
|
||||
# Use ZSH or Bash parameter expansion/tr to lowercase the string
|
||||
OWNER_LC=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
|
||||
echo "OWNER_LC=$OWNER_LC" >> $GITHUB_ENV
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
@@ -31,11 +37,11 @@ jobs:
|
||||
with:
|
||||
context: ./docker/coturn
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository_owner,, }}/stoat-coturn:4.9.0-trixie
|
||||
tags: ghcr.io/${{ env.OWNER_LC }}/stoat-coturn:4.9.0-trixie
|
||||
|
||||
- name: Build and push Caddy WAF image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./docker/caddy
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository_owner,, }}/stoat-caddy-waf:latest
|
||||
tags: ghcr.io/${{ env.OWNER_LC }}/stoat-caddy-waf:latest
|
||||
|
||||
Reference in New Issue
Block a user