Skip to content

Commit

Permalink
ci(output): use GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
Thuan Vo committed Aug 30, 2023
1 parent 7d9d93e commit 39d083a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci-build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
run: |
IMAGE_VERSION="$(mvn validate help:evaluate -Dexpression=cryostat.imageVersionLower -q -DforceStdout)"
echo "image-version=$IMAGE_VERSION" >> "$GITHUB_OUTPUT"
echo "::set-output name=image-version::"
outputs:
image-version: ${{ steps.query-pom.outputs.image-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ jobs:
podman tag \
${{ env.CRYOSTAT_IMG }}:$IMAGE_VERSION \
${{ env.CRYOSTAT_IMG }}:latest
echo "::set-output name=tags::$IMAGE_VERSION latest"
echo "tags=$IMAGE_VERSION latest" >> "$GITHUB_OUTPUT""
else
echo "::set-output name=tags::$IMAGE_VERSION"
echo "tags=$IMAGE_VERSION" >> "$GITHUB_OUTPUT""
fi
if: github.repository_owner == 'cryostatio'
- name: Push to quay.io
Expand Down

0 comments on commit 39d083a

Please sign in to comment.