diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 000877c44..806f9180a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,9 +17,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Restore Go cache - uses: actions/cache@v3.3.1 + uses: actions/cache@v3.3.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 28950ab2e..5cb32e01f 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -35,7 +35,7 @@ jobs: - apisix steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Kubernetes uses: helm/kind-action@v1.8.0 if: matrix.provider != 'skipper' diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml index fb5519ffc..219a51ede 100644 --- a/.github/workflows/helm.yaml +++ b/.github/workflows/helm.yaml @@ -12,7 +12,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Publish Helm charts uses: stefanprodan/helm-gh-pages@v1.7.0 with: diff --git a/.github/workflows/push-ld.yml b/.github/workflows/push-ld.yml index 2456bd4ce..1dbd08fd5 100644 --- a/.github/workflows/push-ld.yml +++ b/.github/workflows/push-ld.yml @@ -15,8 +15,8 @@ jobs: id-token: write packages: write steps: - - uses: actions/checkout@v3 - - uses: sigstore/cosign-installer@v3.1.1 + - uses: actions/checkout@v4 + - uses: sigstore/cosign-installer@v3.1.2 - name: Prepare id: prep run: | @@ -24,19 +24,19 @@ jobs: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT - name: Setup QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: fluxcdbot password: ${{ secrets.GHCR_TOKEN }} - name: Generate image meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ env.IMAGE }} @@ -44,7 +44,7 @@ jobs: type=raw,value=${{ steps.prep.outputs.VERSION }} - name: Publish image id: build-push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: push: true builder: ${{ steps.buildx.outputs.name }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 652fe3bae..4120e4cd7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,9 +26,9 @@ jobs: id-token: write # needed for keyless signing packages: write # needed for ghcr access steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: fluxcd/flux2/action@main - - uses: sigstore/cosign-installer@v3.1.1 + - uses: sigstore/cosign-installer@v3.1.2 - name: Prepare id: prep run: | @@ -42,19 +42,19 @@ jobs: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT - name: Setup QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Setup Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: fluxcdbot password: ${{ secrets.GHCR_TOKEN }} - name: Generate image meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ env.IMAGE }} @@ -62,7 +62,7 @@ jobs: type=raw,value=${{ steps.prep.outputs.VERSION }} - name: Publish image id: build-push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: sbom: true provenance: true @@ -116,7 +116,7 @@ jobs: - uses: anchore/sbom-action/download-syft@v0 - name: Create release and SBOM id: run-goreleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v5 if: startsWith(github.ref, 'refs/tags/v') with: version: latest diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 882fcdde1..ac0aa2fe0 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -17,7 +17,7 @@ jobs: permissions: security-events: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run FOSSA scan and upload build data uses: fossa-contrib/fossa-action@v2 with: @@ -30,7 +30,7 @@ jobs: security-events: write steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: