feat: add trunk-(version) to tag & test cache

This commit is contained in:
diced 2022-10-28 20:41:39 -07:00
parent f30e10f235
commit e4491610fb
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -19,6 +19,12 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v2
- name: Get version
uses: sergeysova/jq-action@v2
id: version
with:
cmd: 'jq .version package.json -r'
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
@ -40,5 +46,6 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/diced/zipline:trunk
ghcr.io/diced/zipline:trunk-${{ steps.version.outputs.value }}
cache-from: type=gha
cache-to: type=gha,mode=max