Skip to content

Commit

Permalink
Feat: replace deprecated command with environment file (#181)
Browse files Browse the repository at this point in the history
Signed-off-by: Jongwoo Han <[email protected]>
  • Loading branch information
jongwooo authored Dec 18, 2023
1 parent 7d88eef commit ec3c20d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
id: vars
run: |
if [[ ${GITHUB_REF} == "refs/heads/main" ]]; then
echo ::set-output name=TAG::latest
echo "TAG=latest" >> $GITHUB_OUTPUT
else
echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
fi
echo ::set-output name=GITVERSION::git-$(git rev-parse --short HEAD)
echo "GITVERSION=git-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Login ghcr.io
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Get the vars
id: vars
run: |
echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}
echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Install Helm
uses: azure/setup-helm@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
run: |
if [[ "${{ github.ref }}" == refs/tags/v* ]]; then
echo "pushing tag: ${{ github.ref_name }}"
echo "::set-output name=matrix::${{ env.K3D_IMAGE_VERSIONS }}"
echo "matrix=${{ env.K3D_IMAGE_VERSIONS }}" >> $GITHUB_OUTPUT
else
echo "::set-output name=matrix::${{ env.K3D_IMAGE_VERSION }}"
echo "matrix=${{ env.K3D_IMAGE_VERSION }}" >> $GITHUB_OUTPUT
fi
e2e-tests:
Expand Down

0 comments on commit ec3c20d

Please sign in to comment.