From 07178128eff1247f9d46a52e07ad3f81c6d923ea Mon Sep 17 00:00:00 2001 From: rchan Date: Thu, 13 Jun 2024 04:11:23 +0100 Subject: [PATCH] bump action versions --- .github/workflows/build_docker_image.yaml | 11 +++++++---- .github/workflows/lint_code.yaml | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_docker_image.yaml b/.github/workflows/build_docker_image.yaml index f30dd748..cef363ba 100644 --- a/.github/workflows/build_docker_image.yaml +++ b/.github/workflows/build_docker_image.yaml @@ -34,10 +34,13 @@ jobs: steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Log in to the Container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -45,12 +48,12 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ matrix.image }} - name: Build and push Docker images - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: file: ${{ matrix.dockerfile }} push: true diff --git a/.github/workflows/lint_code.yaml b/.github/workflows/lint_code.yaml index bf783801..4d67c065 100644 --- a/.github/workflows/lint_code.yaml +++ b/.github/workflows/lint_code.yaml @@ -13,7 +13,7 @@ jobs: name: Lint with pre-commit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 3.11