From 4918c7beab536d4859f33900e8121aaed6b203e3 Mon Sep 17 00:00:00 2001 From: Roberto Scolaro Date: Mon, 9 Dec 2024 18:05:28 +0000 Subject: [PATCH] fix(ci): bump various actions Signed-off-by: Roberto Scolaro --- .github/workflows/builder-update.yaml | 10 +++++----- .github/workflows/ci-check.yaml | 2 +- .github/workflows/ci.yaml | 24 ++++++++++++------------ .github/workflows/release-draft.yaml | 20 ++++++++++---------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/builder-update.yaml b/.github/workflows/builder-update.yaml index 2d3213b331..e6e1702f49 100644 --- a/.github/workflows/builder-update.yaml +++ b/.github/workflows/builder-update.yaml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: 'amd64,arm64' @@ -25,7 +25,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Login to Github Packages - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -33,7 +33,7 @@ jobs: - name: Build new skeleton builder id: build-skeleton-builder - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: docker/builder file: docker/builder/modern_bpf_probe.Dockerfile @@ -43,7 +43,7 @@ jobs: - name: Build new builder id: build-builder - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: docker/builder platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/ci-check.yaml b/.github/workflows/ci-check.yaml index 874f07358c..77ba512314 100644 --- a/.github/workflows/ci-check.yaml +++ b/.github/workflows/ci-check.yaml @@ -5,5 +5,5 @@ jobs: actionlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: reviewdog/action-actionlint@v1 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9e7cec3546..fe81da1a17 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -32,7 +32,7 @@ jobs: - name: Set up QEMU if: steps.builder-files.outputs.any_changed == 'true' - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: 'amd64,arm64' @@ -42,7 +42,7 @@ jobs: - name: Login to Github Packages if: steps.builder-files.outputs.any_changed == 'true' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -63,7 +63,7 @@ jobs: - name: Build new skeleton builder id: skeleton-builder if: steps.builder-files.outputs.any_changed == 'true' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: docker/builder file: docker/builder/modern_bpf_probe.Dockerfile @@ -74,7 +74,7 @@ jobs: - name: Build new builder id: build-builder if: steps.builder-files.outputs.any_changed == 'true' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: docker/builder platforms: linux/amd64,linux/arm64 @@ -92,7 +92,7 @@ jobs: image: ${{ needs.builder.outputs.skeleton_builder_image }} steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: sysdig - name: Link paths @@ -130,7 +130,7 @@ jobs: ldd /__e/node20/bin/node - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: sysdig - name: Link paths @@ -179,7 +179,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: sysdig - name: Create build dir @@ -187,14 +187,14 @@ jobs: mkdir -p ${{ github.workspace }}/sysdig-build-aarch64 - name: Login to Github Packages - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: 'amd64,arm64' - name: Run the build skeleton process with Docker @@ -256,7 +256,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build run: | mkdir -p build @@ -281,7 +281,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build run: | mkdir -p build diff --git a/.github/workflows/release-draft.yaml b/.github/workflows/release-draft.yaml index fb34e37ea5..2481b1efd3 100644 --- a/.github/workflows/release-draft.yaml +++ b/.github/workflows/release-draft.yaml @@ -14,7 +14,7 @@ jobs: image: ghcr.io/draios/sysdig-skel-builder:dev steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: sysdig - name: Link paths @@ -43,7 +43,7 @@ jobs: image: ghcr.io/draios/sysdig-builder:dev steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: sysdig - name: Link paths @@ -75,14 +75,14 @@ jobs: ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: sysdig - name: Create build dir run: | mkdir -p ${{ github.workspace }}/sysdig-build-aarch64 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: 'amd64,arm64' - name: Run the build skeleton process with Docker @@ -134,7 +134,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build run: | mkdir -p build @@ -160,7 +160,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build run: | mkdir -p build @@ -181,7 +181,7 @@ jobs: SYSDIG_IMAGE_BASE: ghcr.io/draios/sysdig steps: - name: Checkout Sysdig - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download artifacts aarch64 uses: actions/download-artifact@v3 with: @@ -191,19 +191,19 @@ jobs: with: name: sysdig-release-${{ env.BUILD_VERSION }}-x86_64 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: 'amd64,arm64' - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Login to Github Packages - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push container images - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: platforms: linux/amd64,linux/arm64 file: docker/sysdig/Dockerfile