From 535f84064ade09e039432b92d7472ab11eb6ef6a Mon Sep 17 00:00:00 2001 From: diced Date: Fri, 28 Oct 2022 21:05:44 -0700 Subject: [PATCH] fix: actions outputs --- .github/workflows/docker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e32ad61..3c6addb 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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