Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Try another way of passing values between steps
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed May 4, 2022
1 parent 59442d0 commit 17291f3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,16 @@ jobs:
type=sha
type=ref,event=tag
- name: Get pnpm-version
id: pnpm-version
run: |
echo "::set-output name=val::$(cat .pnpm-version)"
- uses: docker/build-push-action@v2
with:
context: .
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
push: true
secret-files: |
PNPM_VERSION=./.pnpm-version
build-args:
- PNPM_VERSION=${{ steps.pnpm-version.outputs.val }}

0 comments on commit 17291f3

Please sign in to comment.