Skip to content

Commit

Permalink
Cup of tee
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Apr 30, 2024
1 parent 794c804 commit bbe30cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jobs:
- name: Set output variables
id: bake_metadata
run: |
.github/workflows/extract-image-names.sh
.github/workflows/extract-image-names.sh >> "${GITHUB_OUTPUT}"
.github/workflows/extract-image-names.sh | tee -a "${GITHUB_OUTPUT}"
env:
BAKE_METADATA: ${{ steps.build-upload.outputs.metadata }}
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ jobs:
id: build_vars
run: |
vars=$(cat build.json | jq -c '[.variable | to_entries[] | {"key": .key, "value": .value.default}] | from_entries')
echo "vars=$vars"
echo "vars=$vars" >> "${GITHUB_OUTPUT}"
echo "vars=$vars" | tee -a "${GITHUB_OUTPUT}"
- name: Docker meta
id: meta
Expand All @@ -77,8 +76,7 @@ jobs:
id: images
run: |
src=$(echo '${{ inputs.images }}'| jq -cr '.[("${{ matrix.target }}"|ascii_upcase|sub("-"; "_"; "g")) + "_IMAGE"]')
echo "src=$src"
echo "src=$src" >> "${GITHUB_OUTPUT}"
echo "src=$src" | tee -a "${GITHUB_OUTPUT}"
- name: Push image
uses: akhilerm/[email protected]
Expand Down

0 comments on commit bbe30cf

Please sign in to comment.