From 0c6671f94d84e8966c49b6ff7a610acabfb97468 Mon Sep 17 00:00:00 2001 From: Andrea Hrelja <151508315+andhreljaKern@users.noreply.github.com> Date: Wed, 27 May 2026 11:33:31 +0200 Subject: [PATCH 1/2] perf: edit_dockerfile.sh to include ARG PARENT_IMAGE= --- pi/edit_dockerfile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pi/edit_dockerfile.sh b/pi/edit_dockerfile.sh index c9fd86e..d5d4621 100644 --- a/pi/edit_dockerfile.sh +++ b/pi/edit_dockerfile.sh @@ -42,7 +42,7 @@ else fi grep "${REGISTRY}/${PARENT_IMAGE_NAME}" $DOCKERFILE | while read -r line ; do - PI_EXISTING_TAG=$(echo $line | sed 's|FROM ||g' | cut -d ':' -f 2) + PI_EXISTING_TAG=$(echo $line | sed 's|ARG PARENT_IMAGE=||g' | cut -d ':' -f 2) PI_EXISTING_IMAGE="${REGISTRY}/${PARENT_IMAGE_NAME}:${PI_EXISTING_TAG}" if [ -n "$DEV_UPDATED" ]; then From 407b717df5f1f6cd30d53a66a80d893c84393d44 Mon Sep 17 00:00:00 2001 From: andhreljaKern Date: Thu, 28 May 2026 17:06:24 +0200 Subject: [PATCH 2/2] ci(perf): upgrade to node 24 --- .../workflows/admin_fetch_updated_apps.yml | 2 +- .../workflows/admin_update_repo_settings.yml | 6 +++--- .github/workflows/az_acr_delete.yml | 2 +- .github/workflows/az_acr_push.yml | 2 +- .github/workflows/az_acr_release.yml | 2 +- .github/workflows/az_acr_test.yml | 2 +- .github/workflows/az_fa_deploy.yml | 2 +- .github/workflows/dc_deploy.yml | 12 +----------- .github/workflows/dc_edit.yml | 2 +- .github/workflows/dc_registry_delete.yml | 2 +- .github/workflows/dc_registry_delete_bulk.yml | 4 ++-- .github/workflows/dc_release.yml | 2 +- .github/workflows/gh_delete_branch.yml | 2 +- .github/workflows/k8s_apply.yml | 2 +- .github/workflows/k8s_delete.yml | 2 +- .github/workflows/k8s_deploy.yml | 2 +- .github/workflows/k8s_destroy.yml | 2 +- .github/workflows/k8s_edit.yml | 2 +- .github/workflows/k8s_exec_env_pull.yml | 2 +- .github/workflows/k8s_release.yml | 2 +- .github/workflows/k8s_reload_secrets.yml | 2 +- .github/workflows/k8s_restart.yml | 2 +- .github/workflows/k8s_test.yml | 2 +- .github/workflows/pi_build.yml | 19 ++++++++++++++----- .github/workflows/pi_cleanup_submodule.yml | 4 ++-- .github/workflows/pi_matrix.yml | 2 +- .github/workflows/pi_merge_submodule.yml | 4 ++-- .github/workflows/pi_release.yml | 2 +- .github/workflows/tf_docs.yml | 2 +- .github/workflows/tf_plan_apply.yml | 12 ++++++------ .github/workflows/tf_plan_apply_gh.yml | 12 ++++++------ README.md | 2 +- docs/docs.json | 2 +- 33 files changed, 61 insertions(+), 62 deletions(-) diff --git a/.github/workflows/admin_fetch_updated_apps.yml b/.github/workflows/admin_fetch_updated_apps.yml index 42544f6..a326ab0 100644 --- a/.github/workflows/admin_fetch_updated_apps.yml +++ b/.github/workflows/admin_fetch_updated_apps.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.ref_name }} diff --git a/.github/workflows/admin_update_repo_settings.yml b/.github/workflows/admin_update_repo_settings.yml index 2d097fa..206b29a 100644 --- a/.github/workflows/admin_update_repo_settings.yml +++ b/.github/workflows/admin_update_repo_settings.yml @@ -20,7 +20,7 @@ jobs: if: ${{ github.ref_name == 'dev' }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.ref_name }} @@ -38,7 +38,7 @@ jobs: if: ${{ github.ref_name != 'prod' }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.ref_name }} @@ -55,7 +55,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.ref_name }} diff --git a/.github/workflows/az_acr_delete.yml b/.github/workflows/az_acr_delete.yml index 440ad15..c1e9491 100644 --- a/.github/workflows/az_acr_delete.yml +++ b/.github/workflows/az_acr_delete.yml @@ -16,7 +16,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: 'code-kern-ai/cicd-deployment-scripts' diff --git a/.github/workflows/az_acr_push.yml b/.github/workflows/az_acr_push.yml index 3631b8c..ed16a7b 100644 --- a/.github/workflows/az_acr_push.yml +++ b/.github/workflows/az_acr_push.yml @@ -20,7 +20,7 @@ jobs: platform: [amd64, arm64] steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: 'true' diff --git a/.github/workflows/az_acr_release.yml b/.github/workflows/az_acr_release.yml index 610ecf9..551ab67 100644 --- a/.github/workflows/az_acr_release.yml +++ b/.github/workflows/az_acr_release.yml @@ -22,7 +22,7 @@ jobs: IMAGE_TAG: ${{ github.event_name == 'release' && github.event.release.tag_name || github.sha }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: 'true' diff --git a/.github/workflows/az_acr_test.yml b/.github/workflows/az_acr_test.yml index fa2d982..05944c9 100644 --- a/.github/workflows/az_acr_test.yml +++ b/.github/workflows/az_acr_test.yml @@ -20,7 +20,7 @@ jobs: GH_REF_NAME: test-${{ steps.branch_name.outputs.GH_REF_NAME }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: 'true' diff --git a/.github/workflows/az_fa_deploy.yml b/.github/workflows/az_fa_deploy.yml index c368b0c..dcdc9da 100644 --- a/.github/workflows/az_fa_deploy.yml +++ b/.github/workflows/az_fa_deploy.yml @@ -15,7 +15,7 @@ jobs: PYTHON_VERSION: ${{ vars.PYTHON_VERSION }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: 'true' diff --git a/.github/workflows/dc_deploy.yml b/.github/workflows/dc_deploy.yml index 8b5be42..8bf4d7f 100644 --- a/.github/workflows/dc_deploy.yml +++ b/.github/workflows/dc_deploy.yml @@ -2,16 +2,6 @@ name: 'DC: Deploy' on: workflow_call: - secrets: - SSH_HOST: - required: true - description: "SSH host" - SSH_USER: - required: true - description: "SSH user" - SSH_PRIVATE_KEY: - required: true - description: "SSH private_key" # Special permissions required for OIDC authentication permissions: @@ -40,7 +30,7 @@ jobs: if: github.event_name == 'pull_request' && github.event.pull_request.merged && !failure() && !cancelled() steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/dc_edit.yml b/.github/workflows/dc_edit.yml index 48764e8..6579cf2 100644 --- a/.github/workflows/dc_edit.yml +++ b/.github/workflows/dc_edit.yml @@ -25,7 +25,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} repository: ${{ github.repository_owner }}/${{ env.DEPLOYMENT_REPO_NAME }} diff --git a/.github/workflows/dc_registry_delete.yml b/.github/workflows/dc_registry_delete.yml index 93de571..c9fa4c9 100644 --- a/.github/workflows/dc_registry_delete.yml +++ b/.github/workflows/dc_registry_delete.yml @@ -35,7 +35,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: 'code-kern-ai/cicd-deployment-scripts' diff --git a/.github/workflows/dc_registry_delete_bulk.yml b/.github/workflows/dc_registry_delete_bulk.yml index ea5ffb0..a6b0ff1 100644 --- a/.github/workflows/dc_registry_delete_bulk.yml +++ b/.github/workflows/dc_registry_delete_bulk.yml @@ -37,7 +37,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout cicd-deployment-scripts - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: 'code-kern-ai/cicd-deployment-scripts' @@ -82,7 +82,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout cicd-deployment-scripts - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: 'code-kern-ai/cicd-deployment-scripts' diff --git a/.github/workflows/dc_release.yml b/.github/workflows/dc_release.yml index e84b190..a8f1c7c 100644 --- a/.github/workflows/dc_release.yml +++ b/.github/workflows/dc_release.yml @@ -43,7 +43,7 @@ jobs: if: github.event_name == 'pull_request' && github.event.pull_request.merged && !failure() && !cancelled() steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/gh_delete_branch.yml b/.github/workflows/gh_delete_branch.yml index 5f156b5..ba24962 100644 --- a/.github/workflows/gh_delete_branch.yml +++ b/.github/workflows/gh_delete_branch.yml @@ -70,7 +70,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/k8s_apply.yml b/.github/workflows/k8s_apply.yml index c7d61d6..5a2db45 100644 --- a/.github/workflows/k8s_apply.yml +++ b/.github/workflows/k8s_apply.yml @@ -28,7 +28,7 @@ jobs: AZURE_CONTAINER_REGISTRY: "${{ vars.AZURE_CONTAINER_REGISTRY }}" steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: GitHub Configuration run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com diff --git a/.github/workflows/k8s_delete.yml b/.github/workflows/k8s_delete.yml index 7022dc8..63c504c 100644 --- a/.github/workflows/k8s_delete.yml +++ b/.github/workflows/k8s_delete.yml @@ -30,7 +30,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: GitHub Configuration run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com diff --git a/.github/workflows/k8s_deploy.yml b/.github/workflows/k8s_deploy.yml index b11cffb..6411ae2 100644 --- a/.github/workflows/k8s_deploy.yml +++ b/.github/workflows/k8s_deploy.yml @@ -39,7 +39,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} repository: ${{ github.repository_owner }}/${{ env.KUBERNETES_CLUSTER_REPO_NAME }} diff --git a/.github/workflows/k8s_destroy.yml b/.github/workflows/k8s_destroy.yml index 8a9fb12..a7a66b8 100644 --- a/.github/workflows/k8s_destroy.yml +++ b/.github/workflows/k8s_destroy.yml @@ -25,7 +25,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: GitHub Configuration run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com diff --git a/.github/workflows/k8s_edit.yml b/.github/workflows/k8s_edit.yml index 1ea36ac..39e8142 100644 --- a/.github/workflows/k8s_edit.yml +++ b/.github/workflows/k8s_edit.yml @@ -25,7 +25,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} repository: ${{ github.repository_owner }}/${{ env.KUBERNETES_CLUSTER_REPO_NAME }} diff --git a/.github/workflows/k8s_exec_env_pull.yml b/.github/workflows/k8s_exec_env_pull.yml index e0f91f8..b87bf35 100644 --- a/.github/workflows/k8s_exec_env_pull.yml +++ b/.github/workflows/k8s_exec_env_pull.yml @@ -24,7 +24,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: GitHub Configuration run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com diff --git a/.github/workflows/k8s_release.yml b/.github/workflows/k8s_release.yml index 07e9e4a..90699e6 100644 --- a/.github/workflows/k8s_release.yml +++ b/.github/workflows/k8s_release.yml @@ -52,7 +52,7 @@ jobs: if: github.event_name == 'pull_request' && github.event.pull_request.merged && !failure() && !cancelled() steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/k8s_reload_secrets.yml b/.github/workflows/k8s_reload_secrets.yml index a566c85..85c9a67 100644 --- a/.github/workflows/k8s_reload_secrets.yml +++ b/.github/workflows/k8s_reload_secrets.yml @@ -27,7 +27,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: GitHub Configuration run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com diff --git a/.github/workflows/k8s_restart.yml b/.github/workflows/k8s_restart.yml index b05e078..feb6a3d 100644 --- a/.github/workflows/k8s_restart.yml +++ b/.github/workflows/k8s_restart.yml @@ -27,7 +27,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: GitHub Configuration run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com diff --git a/.github/workflows/k8s_test.yml b/.github/workflows/k8s_test.yml index 9a7cb7c..0947cb9 100644 --- a/.github/workflows/k8s_test.yml +++ b/.github/workflows/k8s_test.yml @@ -50,7 +50,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: GitHub Configuration run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com diff --git a/.github/workflows/pi_build.yml b/.github/workflows/pi_build.yml index 955ca3c..878d8be 100644 --- a/.github/workflows/pi_build.yml +++ b/.github/workflows/pi_build.yml @@ -43,6 +43,8 @@ jobs: DEV_CONTAINER_REGISTRY: ${{ vars.DEV_CONTAINER_REGISTRY }} DEV_LOGIN_USERNAME: ${{ secrets.DEV_LOGIN_USERNAME }} DEV_LOGIN_PASSWORD: ${{ secrets.DEV_LOGIN_PASSWORD }} + DOCKERHUB_LOGIN_USERNAME: ${{ secrets.DOCKERHUB_LOGIN_USERNAME }} + DOCKERHUB_LOGIN_PASSWORD: ${{ secrets.DOCKERHUB_LOGIN_PASSWORD }} PARENT_IMAGE_NAME: ${{ vars.PARENT_IMAGE_NAME }} DOCKERFILE: ${{ vars.DOCKERFILE }} HEAD_REF: parent-image-updates @@ -76,24 +78,31 @@ jobs: pip-compile requirements/${{ matrix.parent_image_type }}-requirements.in - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 with: platforms: linux/amd64,linux/arm64 - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 with: platforms: arm64,arm - name: Log into DEV registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: "${{ env.DEV_CONTAINER_REGISTRY }}" username: "${{ env.DEV_LOGIN_USERNAME }}" password: "${{ env.DEV_LOGIN_PASSWORD }}" + - name: Log into DHI registry + uses: docker/login-action@v4 + with: + registry: "dhi.io" + username: "${{ env.DOCKERHUB_LOGIN_USERNAME }}" + password: "${{ env.DOCKERHUB_LOGIN_PASSWORD }}" + - name: Build & Push ${{ env.PARENT_IMAGE_NAME }}:${{ env.HEAD_REF }}-${{ matrix.parent_image_type }} - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: . cache-from: type=registry,ref=${{ env.DEV_CONTAINER_REGISTRY }}/${{ env.PARENT_IMAGE_NAME }}:dev-${{ matrix.parent_image_type }}-cache @@ -107,7 +116,7 @@ jobs: label=dockerfile-path=https://github.com/refinery-${{ matrix.parent_image_type }}-parent-image/blob/${{ github.sha }}/${{ env.DOCKERFILE }} # - name: Build & Push ${{ env.PARENT_IMAGE_NAME }}:${{ env.HEAD_REF }}-${{ matrix.parent_image_type }}-arm64 - # uses: docker/build-push-action@v5 + # uses: docker/build-push-action@v7 # with: # context: . # cache-from: type=registry,ref=${{ env.DEV_CONTAINER_REGISTRY }}/${{ env.PARENT_IMAGE_NAME }}:dev-${{ matrix.parent_image_type }}-arm64-cache diff --git a/.github/workflows/pi_cleanup_submodule.yml b/.github/workflows/pi_cleanup_submodule.yml index 3bdbf57..42ab2f9 100644 --- a/.github/workflows/pi_cleanup_submodule.yml +++ b/.github/workflows/pi_cleanup_submodule.yml @@ -30,7 +30,7 @@ jobs: needs: [configure-branch-name] steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} @@ -47,7 +47,7 @@ jobs: app: ${{ fromJson(needs.pi-matrix.outputs.app) }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ github.repository_owner }}/${{ matrix.app }} token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/pi_matrix.yml b/.github/workflows/pi_matrix.yml index bbd06ac..1cdf6cc 100644 --- a/.github/workflows/pi_matrix.yml +++ b/.github/workflows/pi_matrix.yml @@ -46,7 +46,7 @@ jobs: app: ${{ steps.generate-matrix.outputs.app }} steps: - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: ${{ inputs.repository }} ref: ${{ inputs.checkout_ref }} diff --git a/.github/workflows/pi_merge_submodule.yml b/.github/workflows/pi_merge_submodule.yml index c0d7ac3..9100b48 100644 --- a/.github/workflows/pi_merge_submodule.yml +++ b/.github/workflows/pi_merge_submodule.yml @@ -42,7 +42,7 @@ jobs: parent_image_type: ${{ fromJson(needs.pi-matrix.outputs.parent_image_type) }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} repository: '${{ github.repository_owner }}/refinery-${{ matrix.parent_image_type }}-parent-image' @@ -68,7 +68,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/pi_release.yml b/.github/workflows/pi_release.yml index c86ade3..0e1383e 100644 --- a/.github/workflows/pi_release.yml +++ b/.github/workflows/pi_release.yml @@ -40,7 +40,7 @@ jobs: app: ${{ fromJson(needs.pi-matrix.outputs.app) }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} repository: ${{ github.repository_owner }}/${{ matrix.app }} diff --git a/.github/workflows/tf_docs.yml b/.github/workflows/tf_docs.yml index 13f2e89..84f0a0d 100644 --- a/.github/workflows/tf_docs.yml +++ b/.github/workflows/tf_docs.yml @@ -11,7 +11,7 @@ jobs: tf-module-docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.ref }} diff --git a/.github/workflows/tf_plan_apply.yml b/.github/workflows/tf_plan_apply.yml index 5735ca7..09bbcb0 100644 --- a/.github/workflows/tf_plan_apply.yml +++ b/.github/workflows/tf_plan_apply.yml @@ -40,13 +40,13 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} # Install the latest version of the OpenTofu CLI - name: Setup OpenTofu - uses: opentofu/setup-opentofu@v1 + uses: opentofu/setup-opentofu@v2 with: tofu_wrapper: false @@ -87,7 +87,7 @@ jobs: # Save plan to artifacts - name: Publish OpenTofu Plan if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.pull_request.merged }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: tfplan path: tfplan @@ -110,11 +110,11 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 # Install the latest version of OpenTofu CLI and configure the OpenTofu CLI configuration file with a OpenTofu Cloud user API token - name: Setup OpenTofu - uses: opentofu/setup-opentofu@v1 + uses: opentofu/setup-opentofu@v2 # Initialize a new or existing OpenTofu working directory by creating initial files, loading any remote state, downloading modules, etc. - name: OpenTofu Init @@ -127,7 +127,7 @@ jobs: # Download saved plan from artifacts - name: Download OpenTofu Plan - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: tfplan diff --git a/.github/workflows/tf_plan_apply_gh.yml b/.github/workflows/tf_plan_apply_gh.yml index 14f1ce1..12202cf 100644 --- a/.github/workflows/tf_plan_apply_gh.yml +++ b/.github/workflows/tf_plan_apply_gh.yml @@ -40,13 +40,13 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ secrets.GH_TOKEN }} # Install the latest version of the OpenTofu CLI - name: Setup OpenTofu - uses: opentofu/setup-opentofu@v1 + uses: opentofu/setup-opentofu@v2 with: tofu_wrapper: false @@ -87,7 +87,7 @@ jobs: # Save plan to artifacts - name: Publish OpenTofu Plan if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.pull_request.merged }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: tfplan path: tfplan @@ -110,11 +110,11 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 # Install the latest version of OpenTofu CLI and configure the OpenTofu CLI configuration file with a OpenTofu Cloud user API token - name: Setup OpenTofu - uses: opentofu/setup-opentofu@v1 + uses: opentofu/setup-opentofu@v2 - name: GitHub Configuration run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf "https://github.com" @@ -130,7 +130,7 @@ jobs: # Download saved plan from artifacts - name: Download OpenTofu Plan - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: tfplan diff --git a/README.md b/README.md index 0b4d31f..5359d5e 100644 --- a/README.md +++ b/README.md @@ -922,7 +922,7 @@ Triggers: **Jobs:** - tf-module-docs - - `actions/checkout@v4` + - `actions/checkout@v6` - `Render OpenTofu docs and push changes back to PR` diff --git a/docs/docs.json b/docs/docs.json index 584bc2c..d78af72 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -820,7 +820,7 @@ "name": "tf-module-docs", "descriptive_name": null, "steps": [ - "actions/checkout@v4", + "actions/checkout@v6", "Render OpenTofu docs and push changes back to PR" ] }