This commit is contained in:
我若为王 2024-12-05 13:32:36 +08:00
parent 322c9ff638
commit 79c5cee62c

View File

@ -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