mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-03 10:42:15 +08:00
OWNER_LC
This commit is contained in:
parent
322c9ff638
commit
79c5cee62c
9
.github/workflows/docker-build.yml
vendored
9
.github/workflows/docker-build.yml
vendored
@ -28,7 +28,12 @@ jobs:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ github.token }}
|
||||
|
||||
|
||||
- name: set lower case owner name
|
||||
run: |
|
||||
echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV}
|
||||
env:
|
||||
OWNER: '${{ github.repository_owner }}'
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
@ -43,7 +48,7 @@ jobs:
|
||||
platforms: linux/amd64,linux/arm64,linux/s390x
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository_owner.toLowerCase() }}/alipan-tv-token:latest
|
||||
tags: ghcr.io/${{ OWNER_LC }}/alipan-tv-token:latest
|
||||
|
||||
- name: Post build cleanup
|
||||
run: docker builder prune --force
|
Loading…
x
Reference in New Issue
Block a user