mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-03 18:52:17 +08:00
OWNER_LC
This commit is contained in:
parent
322c9ff638
commit
79c5cee62c
7
.github/workflows/docker-build.yml
vendored
7
.github/workflows/docker-build.yml
vendored
@ -29,6 +29,11 @@ jobs:
|
|||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ github.token }}
|
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
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
@ -43,7 +48,7 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64,linux/s390x
|
platforms: linux/amd64,linux/arm64,linux/s390x
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
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
|
- name: Post build cleanup
|
||||||
run: docker builder prune --force
|
run: docker builder prune --force
|
Loading…
x
Reference in New Issue
Block a user