From 51078cb283eb463c812e33f45b3a05b5ccb96d90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Fei?= Date: Wed, 19 Oct 2022 07:28:59 +0200 Subject: [PATCH] chore: Update Github actions (#38) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update Github actions Signed-off-by: Niccolò Fei Co-authored-by: Hai He --- .github/workflows/build.yml | 12 ++++++------ .github/workflows/update.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3f9df86..aca97e89 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,7 @@ jobs: uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v2.1.0 + uses: docker/setup-qemu-action@v2 with: image: tonistiigi/binfmt:qemu-v6.1.0 platforms: ${{ matrix.platforms }} @@ -62,17 +62,17 @@ jobs: - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2.1.0 + uses: docker/setup-buildx-action@v2 - name: Log in to the GitHub Container registry - uses: docker/login-action@v2.1.0 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and load - uses: docker/build-push-action@v3.2.0 + uses: docker/build-push-action@v3 with: context: ${{ matrix.dir }} file: ${{ matrix.file }} @@ -81,7 +81,7 @@ jobs: tags: ${{ steps.docker-meta.outputs.tags }} - name: Dockle scan - uses: erzz/dockle-action@v1.3.1 + uses: erzz/dockle-action@v1 with: image: "ghcr.io/${{ env.IMAGE_STAGING }}:${{ matrix.tags[0] }}" exit-code: '1' @@ -90,7 +90,7 @@ jobs: accept-filenames: usr/share/cmake/Templates/Windows/Windows_TemporaryKey.pfx,etc/trusted-key.key,usr/share/doc/perl-IO-Socket-SSL/certs/server_enc.p12,usr/share/doc/perl-IO-Socket-SSL/certs/server.p12,usr/local/lib/python3.9/dist-packages/azure/core/settings.py,usr/local/lib/python3.8/site-packages/azure/core/settings.py,usr/share/postgresql-common/pgdg/apt.postgresql.org.asc,usr/local/lib/python3.7/dist-packages/azure/core/settings.py,etc/ssl/private/ssl-cert-snakeoil.key,usr/lib/python3.9/site-packages/azure/core/settings.py - name: Build and push - uses: docker/build-push-action@v3.2.0 + uses: docker/build-push-action@v3 with: context: ${{ matrix.dir }} file: ${{ matrix.file }} diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index a8e97698..480fa26b 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -17,7 +17,7 @@ jobs: with: token: ${{ secrets.REPO_GHA_PAT }} - name: Run update script - uses: nick-fields/retry@v2.8.1 + uses: nick-fields/retry@v2 with: timeout_minutes: 15 max_attempts: 3