fix: actions outputs

This commit is contained in:
diced 2022-10-28 21:05:44 -07:00
parent 0c0a55d766
commit 535f84064a
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -20,8 +20,9 @@ jobs:
uses: actions/checkout@v3
- name: Get version
id: zipline_version
run: |
echo "zipline_version=$(jq .version package.json -r) >> $GITHUB_ENV"
echo "zipline_version=$(jq .version package.json -r) >> $GITHUB_OUTPUT"
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
@ -44,6 +45,6 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/diced/zipline:trunk
ghcr.io/diced/zipline:trunk-${{ env.zipline_version }}
ghcr.io/diced/zipline:trunk-${{ steps.zipline_version.outputs.zipline_version }}
cache-from: type=gha
cache-to: type=gha,mode=max