fix: cache bug
This commit is contained in:
parent
3030b7126b
commit
0368408832
2 changed files with 6 additions and 6 deletions
|
|
@ -18,7 +18,7 @@ on:
|
||||||
env:
|
env:
|
||||||
REGISTRY: bitfreedom.net
|
REGISTRY: bitfreedom.net
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
CACHE_IMAGE: ${{ github.repository }}-buildcache
|
CACHE_IMAGE: ${{ github.repository }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -142,5 +142,5 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
docker buildx imagetools create \
|
docker buildx imagetools create \
|
||||||
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
|
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
|
||||||
${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:run-${{ github.run_id }}-semantic-amd64 \
|
${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:platform-semantic-amd64 \
|
||||||
${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:run-${{ github.run_id }}-semantic-arm64
|
${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:platform-semantic-arm64
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ on:
|
||||||
env:
|
env:
|
||||||
REGISTRY: bitfreedom.net
|
REGISTRY: bitfreedom.net
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
CACHE_IMAGE: ${{ github.repository }}-buildcache
|
CACHE_IMAGE: ${{ github.repository }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -133,5 +133,5 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
docker buildx imagetools create \
|
docker buildx imagetools create \
|
||||||
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
|
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
|
||||||
${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:run-${{ github.run_id }}-amd64 \
|
${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:platform-amd64 \
|
||||||
${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:run-${{ github.run_id }}-arm64
|
${{ env.REGISTRY }}/${{ env.CACHE_IMAGE }}:platform-arm64
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue