From fb5bea7f91ed21311d3f7044b05fe49817944430 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 26 Jan 2024 11:23:49 +0100 Subject: [PATCH] Update Docker actions versions --- .github/workflows/production-build.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/production-build.yml b/.github/workflows/production-build.yml index f386de25f..36321d96b 100644 --- a/.github/workflows/production-build.yml +++ b/.github/workflows/production-build.yml @@ -12,9 +12,9 @@ jobs: amd64: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Login to ghcr.io - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -24,7 +24,7 @@ jobs: run: | echo "VERSION=$(docker run --rm -v "$(pwd):/app" -w /app php:8.2-alpine3.16 php bootstrap/getVersion.php)"|xargs >> $GITHUB_OUTPUT - name: Build image and push to registry - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: docker/prod-ssu/Dockerfile @@ -34,9 +34,9 @@ jobs: aarch64: runs-on: [self-hosted, arm64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Login to ghcr.io - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -46,7 +46,7 @@ jobs: run: | echo "VERSION=$(docker run --rm -v "$(pwd):/app" -w /app php:8.2-alpine3.16 php bootstrap/getVersion.php)"|xargs >> $GITHUB_OUTPUT - name: Build image and push to registry - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: docker/prod-ssu/Dockerfile @@ -61,13 +61,13 @@ jobs: needs: [amd64, aarch64] 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 ghcr.io - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }}