From 7947baff9951c5c85358ccd34fa2c182815411c7 Mon Sep 17 00:00:00 2001 From: Ludovic Muller Date: Tue, 19 Dec 2023 18:40:28 +0100 Subject: [PATCH] ci: upgrade GitHub Actions --- .github/workflows/docker.yaml | 12 ++++++------ .github/workflows/release.yaml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 5199e57..2684a4d 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -14,16 +14,16 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker 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: ${{ github.actor }} @@ -31,7 +31,7 @@ jobs: - name: Docker meta id: docker_meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: "${{ env.DOCKER_IMAGE }}" tags: | @@ -43,7 +43,7 @@ jobs: - name: Build and push Docker image id: docker_build - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9da8b13..b5c7fb9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,19 +17,19 @@ jobs: # This allow GitHub Actions to trigger the jobs for tags if needed - name: Generate token id: generate_token - uses: tibdex/github-app-token@v1 + uses: tibdex/github-app-token@v2 with: app_id: ${{ secrets.GH_APP_ID }} private_key: ${{ secrets.GH_PRIVATE_KEY }} - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 token: ${{ steps.generate_token.outputs.token }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18