diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f8bae35..056d277 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: org_name: ${{ steps.repo_ids.outputs.ORG_NAME }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Check token @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest needs: [preconditions] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 18.x @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest needs: [preconditions] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 18.x @@ -77,7 +77,7 @@ jobs: runs-on: ubuntu-latest needs: [preconditions] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 18.x @@ -111,7 +111,7 @@ jobs: is_prerelease: ${{ steps.get_version.outputs.IS_PRERELEASE }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch --depth=1 --tags origin - name: Install yq run: sudo snap install yq @@ -132,16 +132,16 @@ jobs: if: ${{ needs.check-version.outputs.is_new_version == 'true' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Docker build - name: Setup QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: all - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: buildkitd-flags: "--debug" - name: Generate tags @@ -171,18 +171,18 @@ jobs: echo "DOCKERHUB_LATEST_TAG=" >> $GITHUB_OUTPUT fi; - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Login to Dockerhub Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.WASP_DOCKERHUB_USERNAME }} password: ${{ secrets.WASP_DOCKERHUB_TOKEN }} - name: Build image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: builder: ${{ steps.buildx.outputs.name }} context: . diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fa4c122..14de3a8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: org_name: ${{ steps.repo_ids.outputs.ORG_NAME }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Get repository identifiers @@ -28,7 +28,7 @@ jobs: name: Run lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 18.x @@ -48,7 +48,7 @@ jobs: name: Run dependency check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 18.x @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 18.x @@ -99,7 +99,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch --depth=1 --tags origin - name: Install yq run: sudo snap install yq @@ -117,18 +117,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: all - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: buildkitd-flags: "--debug" - name: Build image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: builder: ${{ steps.buildx.outputs.name }} context: .