From 2a0f4a036ead1b5330ee1f735834b93fc5c413ab Mon Sep 17 00:00:00 2001
From: spwoodcock <sam.woodcock@protonmail.com>
Date: Thu, 23 Nov 2023 05:18:49 +0000
Subject: [PATCH] ci: update all workflows v1.4.0

---
 .github/workflows/build_and_deploy.yml |  9 ++++-----
 .github/workflows/build_ci_img.yml     |  2 +-
 .github/workflows/build_odk_imgs.yml   |  4 ++--
 .github/workflows/build_proxy_imgs.yml | 10 +++++-----
 .github/workflows/docs.yml             |  6 +++---
 .github/workflows/pr_test_frontend.yml |  2 +-
 .github/workflows/tag_build.yml        |  2 +-
 .github/workflows/wiki.yml             |  2 +-
 8 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml
index 2da9a81c78..c7ef4b46fc 100644
--- a/.github/workflows/build_and_deploy.yml
+++ b/.github/workflows/build_and_deploy.yml
@@ -28,21 +28,20 @@ jobs:
     secrets: inherit
 
   frontend-tests:
-    uses: hotosm/gh-workflows/.github/workflows/test_pnpm.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/test_pnpm.yml@1.4.0
     with:
       working_dir: src/frontend
 
   backend-build:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     needs: [pytest]
     with:
       context: src/backend
       build_target: prod
       image_name: ghcr.io/${{ github.repository }}/backend
-      multi_arch: true
 
   frontend-build:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     needs: [frontend-tests]
     with:
       context: src/frontend
@@ -126,7 +125,7 @@ jobs:
     needs:
       - smoke-test-backend
       - smoke-test-frontend
-    uses: hotosm/gh-workflows/.github/workflows/remote_deploy.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/remote_deploy.yml@1.4.0
     with:
       environment: ${{ github.ref_name }}
       docker_compose_file: "docker-compose.${{ github.ref_name }}.yml"
diff --git a/.github/workflows/build_ci_img.yml b/.github/workflows/build_ci_img.yml
index 2908df8dd0..fcd5ad3463 100644
--- a/.github/workflows/build_ci_img.yml
+++ b/.github/workflows/build_ci_img.yml
@@ -16,7 +16,7 @@ on:
 
 jobs:
   backend-ci-build:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     with:
       context: src/backend
       build_target: ci
diff --git a/.github/workflows/build_odk_imgs.yml b/.github/workflows/build_odk_imgs.yml
index f3916b303b..4895ef736b 100644
--- a/.github/workflows/build_odk_imgs.yml
+++ b/.github/workflows/build_odk_imgs.yml
@@ -13,7 +13,7 @@ on:
 
 jobs:
   build-odkcentral:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     with:
       context: odkcentral/api
       image_tags: |
@@ -23,7 +23,7 @@ jobs:
         ODK_CENTRAL_TAG=${{ vars.ODK_CENTRAL_TAG }}
 
   build-odkcentral-ui:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     with:
       context: odkcentral/ui
       image_tags: |
diff --git a/.github/workflows/build_proxy_imgs.yml b/.github/workflows/build_proxy_imgs.yml
index 158c3e3d6b..6022c1fcb8 100644
--- a/.github/workflows/build_proxy_imgs.yml
+++ b/.github/workflows/build_proxy_imgs.yml
@@ -10,7 +10,7 @@ on:
 
 jobs:
   build-cert-init-main:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     with:
       context: nginx
       build_target: certs-init-main
@@ -20,7 +20,7 @@ jobs:
         NGINX_TAG=${{ vars.NGINX_TAG }}
 
   build-cert-init-dev:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     with:
       context: nginx
       build_target: certs-init-development
@@ -31,7 +31,7 @@ jobs:
         NGINX_TAG=${{ vars.NGINX_TAG }}
 
   build-proxy-main:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     with:
       context: nginx
       build_target: main
@@ -41,7 +41,7 @@ jobs:
         NGINX_TAG=${{ vars.NGINX_TAG }}
 
   build-proxy-main-plus-script:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     with:
       context: nginx
       build_target: main-plus-script
@@ -51,7 +51,7 @@ jobs:
         NGINX_TAG=${{ vars.NGINX_TAG }}
 
   build-proxy-dev:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     with:
       context: nginx
       build_target: development
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 834844b88e..09d25906ae 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -12,19 +12,19 @@ on:
 
 jobs:
   build_doxygen:
-    uses: hotosm/gh-workflows/.github/workflows/doxygen_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/doxygen_build.yml@1.4.0
     with:
       output_path: docs/apidocs
 
   build_openapi_json:
-    uses: hotosm/gh-workflows/.github/workflows/openapi_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/openapi_build.yml@1.4.0
     with:
       image: ghcr.io/${{ github.repository }}/backend:ci-${{ github.ref_name }}
       example_env_file_path: ".env.example"
       output_path: docs/openapi.json
 
   publish_docs:
-    uses: hotosm/gh-workflows/.github/workflows/mkdocs_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/mkdocs_build.yml@1.4.0
     needs:
       - build_doxygen
       - build_openapi_json
diff --git a/.github/workflows/pr_test_frontend.yml b/.github/workflows/pr_test_frontend.yml
index 369dd7037b..fee7566fdc 100644
--- a/.github/workflows/pr_test_frontend.yml
+++ b/.github/workflows/pr_test_frontend.yml
@@ -14,6 +14,6 @@ on:
 
 jobs:
   frontend-tests:
-    uses: hotosm/gh-workflows/.github/workflows/test_pnpm.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/test_pnpm.yml@1.4.0
     with:
       working_dir: src/frontend
diff --git a/.github/workflows/tag_build.yml b/.github/workflows/tag_build.yml
index 9004ddd04a..fec9575652 100644
--- a/.github/workflows/tag_build.yml
+++ b/.github/workflows/tag_build.yml
@@ -9,7 +9,7 @@ on:
 
 jobs:
   backend-build:
-    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.4.0
     with:
       context: src/backend
       build_target: prod
diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml
index 17c811bfce..2cffec7ab4 100644
--- a/.github/workflows/wiki.yml
+++ b/.github/workflows/wiki.yml
@@ -10,6 +10,6 @@ on:
 
 jobs:
   publish-docs-to-wiki:
-    uses: hotosm/gh-workflows/.github/workflows/wiki.yml@1.3.1
+    uses: hotosm/gh-workflows/.github/workflows/wiki.yml@1.4.0
     with:
       homepage_path: "wiki_redirect.md"