From f34b873e3ae34d02bebe959d50bd49497af28f71 Mon Sep 17 00:00:00 2001 From: Henrik Steen Date: Thu, 11 Jul 2024 15:56:33 +0200 Subject: [PATCH] Update action versions --- .github/workflows/backend.yml | 14 +++++++------- .github/workflows/frontend.yml | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 1dfa08eb..ac472099 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -12,19 +12,19 @@ jobs: backend: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build nginx container - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . file: Dockerfile.nginx @@ -33,7 +33,7 @@ jobs: cache-to: type=gha,mode=max - name: Build fpm container - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . file: Dockerfile.fpm @@ -44,7 +44,7 @@ jobs: - name: Push nginx container id: nginx_docker_build if: github.ref == 'refs/heads/main' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . file: Dockerfile.nginx @@ -54,7 +54,7 @@ jobs: - name: Push fpm container id: fpm_docker_build if: github.ref == 'refs/heads/main' - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: . file: Dockerfile.fpm diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 588f57e2..dff43b12 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -14,18 +14,18 @@ jobs: working-directory: frontend steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 16 @@ -34,7 +34,7 @@ jobs: - name: Build docker image id: docker_build - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: context: frontend push: ${{ github.ref == 'refs/heads/main' }}