@@ -66,10 +66,10 @@ jobs:
6666 uses : docker/metadata-action@v5
6767 with :
6868 images : |
69- name= ${{ env.REGISTRY_URL }}/${{ env.REGISTRY_USER }}/${{ steps.image_name.outputs.IMAGE }}
69+ ${{ env.REGISTRY_URL }}/${{ env.REGISTRY_USER }}/${{ steps.image_name.outputs.IMAGE }}
7070 tags : |
71- type=raw,value=latest,enable=${{ endsWith(github.ref, 'main') }}
72- type=ref,event=branch,enable=${{ !endsWith(github.ref, 'main') }}
71+ type=raw,value=latest,enable=${{ endsWith(github.ref, 'main') || endsWith(github.ref, 'master') }}
72+ type=ref,event=branch,enable=${{ !endsWith(github.ref, 'main') && !endsWith(github.ref, 'master') }}
7373 type=semver,pattern={{version}}
7474 flavor : |
7575 latest=false
8989 tags : ${{ steps.meta.outputs.tags }}
9090 labels : ${{ steps.meta.outputs.labels }}
9191 platforms : linux/amd64,linux/arm64/v8
92- cache-from : |
93- type=registry,ref=ghcr.io/${{ github.repository_owner }}/build-cache:${{ steps.image_name.outputs.IMAGE }}-buildcache
94- cache-to : |
95- type=registry,ref=ghcr.io/${{ github.repository_owner }}/build-cache:${{ steps.image_name.outputs.IMAGE }}-buildcache,mode=max
92+ cache-from : type=registry,ref=${{ steps.meta.outputs.tags }}
93+ cache-to : type=registry,ref=${{ steps.meta.outputs.tags }},mode=max
0 commit comments