fix: actions outputs
This commit is contained in:
parent
0c0a55d766
commit
535f84064a
1 changed files with 3 additions and 2 deletions
5
.github/workflows/docker.yml
vendored
5
.github/workflows/docker.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue