From 7ce168ca74f426a705b70e0f84e1df509ca325c3 Mon Sep 17 00:00:00 2001 From: Marian Soltys <41568766+maso7@users.noreply.github.com> Date: Fri, 18 Aug 2023 15:24:45 +0200 Subject: [PATCH] [actions] update workflows --- .github/workflows/build-image.yaml | 2 +- .github/workflows/lint-test.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 5003dbc..920b732 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -49,7 +49,7 @@ jobs: echo "Platforms: ${{ steps.buildx.outputs.platforms }}" echo "Build tag ${{ steps.tag.outputs.tag }}" - name: Login to GHRC - uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 + uses: docker/login-action@v2 with: registry: ${{ env.registry }} username: ${{ github.actor }} diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 39fd102..d9c2f7c 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -26,12 +26,12 @@ jobs: - name: Run chart-testing (list-changed) id: list-changed run: | - changed=$(ct list-changed) + changed=$(ct list-changed --target-branch main) if [[ -n "$changed" ]]; then - echo "::set-output name=changed::true" + echo "changed=true" >> $GITHUB_OUTPUT fi - name: Run chart-testing (lint) - run: ct lint + run: ct lint --target-branch main - name: Create kind cluster uses: helm/kind-action@v1.8.0