mirror of
https://github.com/YuCat-OVO/BaiduNetdisk-Docker
synced 2025-05-10 20:10:04 +08:00
if fix
This commit is contained in:
parent
42d2fec3ec
commit
8255a2662b
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -127,14 +127,14 @@ jobs:
|
||||
*.output=type=image,"name=${{ env.DOCKERHUB_SLUG }},${{ env.GHCR_SLUG }}",push-by-digest=true,name-canonical=true,push=true
|
||||
|
||||
- name: Export digest (amd64)
|
||||
if: ${{ matrix.platform }} == "linux/amd64"
|
||||
if: matrix.platform == 'linux/amd64'
|
||||
run: |
|
||||
mkdir -p /tmp/digests
|
||||
digest="${{ fromJSON(steps.bake.outputs.metadata).image-amd64['containerimage.digest'] }}"
|
||||
touch "/tmp/digests/${digest#sha256:}"
|
||||
|
||||
- name: Export digest (arm64)
|
||||
if: ${{ matrix.platform }} == "linux/arm64"
|
||||
if: matrix.platform == 'linux/arm64'
|
||||
run: |
|
||||
mkdir -p /tmp/digests
|
||||
digest="${{ fromJSON(steps.bake.outputs.metadata).image-arm64['containerimage.digest'] }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user