labels are key+value

This commit is contained in:
nicobo 2021-03-19 13:36:53 +01:00
parent aca5e0168b
commit 4783ed6415
No known key found for this signature in database
GPG key ID: 2581E71C5FA5285F

View file

@ -87,8 +87,8 @@ jobs:
push: true
tags: ${{ env.ALPINE_TAGS }}
labels: |
${{ env.NICOBOT_VERSION }}
${{ github.sha }}
version=${{ env.NICOBOT_VERSION }}
github.sha:${{ github.sha }}
cache-from: type=local,src=/tmp/.buildx-cache
# mode=max to cache intermediate layers : https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
cache-to: type=local,dest=/tmp/.buildx-cache
@ -173,8 +173,8 @@ jobs:
push: true
tags: ${{ env.DEBIAN_TAGS }}
labels: |
${{ env.NICOBOT_VERSION }}
${{ github.sha }}
version=${{ env.NICOBOT_VERSION }}
github.sha:${{ github.sha }}
cache-from: type=local,src=/tmp/.buildx-cache
# mode=max to cache intermediate layers : https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
@ -261,8 +261,8 @@ jobs:
push: true
tags: ${{ env.SIGNAL_DEBIAN_TAGS }}
labels: |
${{ env.NICOBOT_VERSION }}
${{ github.sha }}
version=${{ env.NICOBOT_VERSION }}
github.sha:${{ github.sha }}
cache-from: type=local,src=/tmp/.buildx-cache
# mode=max to cache intermediate layers : https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
cache-to: type=local,dest=/tmp/.buildx-cache