From 424343c0f4eb3d96621896846269b3913224ad6e Mon Sep 17 00:00:00 2001 From: gdarko Date: Mon, 29 Jan 2024 08:14:36 -0600 Subject: [PATCH] Update docker build platforms --- .github/workflows/ci.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8ee62b4a..347c9e87 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -66,21 +66,23 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_TOKEN }} - name: Docker Build and push invoiceshelf-php - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: . + platforms: linux/amd64,linux/arm64 file: docker/Dockerfile push: true tags: invoiceshelf/invoiceshelf-php:${{env.VERSION_TAG}},invoiceshelf/invoiceshelf-php:latest - name: Docker Build and push invoiceshelf-nginx - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: context: . + platforms: linux/amd64,linux/arm64 file: docker/nginx.Dockerfile push: true tags: invoiceshelf/invoiceshelf-nginx:${{env.VERSION_TAG}},invoiceshelf/invoiceshelf-nginx:latest