From 887bfbd40dc481093e86d181ee663ea888735e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Fei?= Date: Wed, 19 Oct 2022 07:28:30 +0200 Subject: [PATCH] chore: Update Github actions (#22) 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 | 6 +++--- .github/workflows/update.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6da3f1d..782d186 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: 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 }} @@ -70,7 +70,7 @@ jobs: - name: Docker meta id: docker-meta - uses: docker/metadata-action@v4.1.0 + uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags images: "${{ steps.image-repo.outputs.images }}" @@ -85,7 +85,7 @@ jobs: org.opencontainers.image.licenses=PostgreSQL - name: Build and push - uses: docker/build-push-action@v3.2.0 + uses: docker/build-push-action@v3 with: platforms: ${{ steps.docker-platforms.outputs.platforms }} context: . diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index c9a1d5e..9c6ac7a 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -41,7 +41,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Build and export to Docker - uses: docker/build-push-action@v3.2.0 + uses: docker/build-push-action@v3 with: context: . load: true @@ -49,7 +49,7 @@ jobs: tags: newimage - name: Dockle scan - uses: erzz/dockle-action@v1.3.1 + uses: erzz/dockle-action@v1 with: image: newimage exit-code: '1'