From 069ec8bc9939ea7e6706dc3633c9d6d6156f9c40 Mon Sep 17 00:00:00 2001 From: Jonathan Visser Date: Wed, 19 Feb 2025 14:00:42 +0100 Subject: [PATCH] Make use of :latest Hypernode Deploy image in docs --- .github/workflows/cleanup_acceptance.yaml | 2 +- .github/workflows/deploy.yaml | 6 +++--- docs/hypernode-deploy/getting-started/configure-ci-cd.md | 8 ++++---- docs/hypernode-deploy/pipelines/bitbucket-pipelines.md | 8 +++----- docs/hypernode-deploy/pipelines/github-actions.md | 9 +++++---- docs/hypernode-deploy/pipelines/gitlab-ci.md | 4 ++-- ...-deploy-your-application-using-hypernode-deploy-v1.md | 4 ++-- 7 files changed, 20 insertions(+), 21 deletions(-) diff --git a/.github/workflows/cleanup_acceptance.yaml b/.github/workflows/cleanup_acceptance.yaml index dbf68d63..35d24c80 100644 --- a/.github/workflows/cleanup_acceptance.yaml +++ b/.github/workflows/cleanup_acceptance.yaml @@ -7,7 +7,7 @@ on: jobs: cleanup: runs-on: ubuntu-latest - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 environment: acceptance steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index bade73a2..621666f4 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 steps: - uses: actions/checkout@v3 with: @@ -47,7 +47,7 @@ jobs: name: acceptance url: ${{ steps.get_brancher_hostname.outputs.BRANCHER_URL }} if: github.ref != 'refs/heads/master' - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 steps: - uses: actions/checkout@v3 with: @@ -102,7 +102,7 @@ jobs: name: production url: https://docs.hypernode.io if: github.ref == 'refs/heads/master' - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 steps: - uses: actions/checkout@v3 - name: download build artifact diff --git a/docs/hypernode-deploy/getting-started/configure-ci-cd.md b/docs/hypernode-deploy/getting-started/configure-ci-cd.md index fdf97af9..005dd4e0 100644 --- a/docs/hypernode-deploy/getting-started/configure-ci-cd.md +++ b/docs/hypernode-deploy/getting-started/configure-ci-cd.md @@ -103,8 +103,8 @@ env: jobs: build: runs-on: ubuntu-latest - # Here we use the Hypernode Deploy v4 image with PHP 8.3 and Node.js 20 - container: quay.io/hypernode/deploy:4-php8.3-node20 + # Here we use the latest Hypernode Deploy image with PHP 8.3 and Node.js 20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 @@ -137,8 +137,8 @@ jobs: deploy: needs: build runs-on: ubuntu-latest - # Here we use the Hypernode Deploy v4 image with PHP 8.3 and Node.js 20 - container: quay.io/hypernode/deploy:4-php8.3-node20 + # Here we use the latest Hypernode Deploy image with PHP 8.3 and Node.js 20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 steps: - uses: actions/checkout@v2 - name: download build artifact diff --git a/docs/hypernode-deploy/pipelines/bitbucket-pipelines.md b/docs/hypernode-deploy/pipelines/bitbucket-pipelines.md index 0d269f06..080a585e 100644 --- a/docs/hypernode-deploy/pipelines/bitbucket-pipelines.md +++ b/docs/hypernode-deploy/pipelines/bitbucket-pipelines.md @@ -58,7 +58,8 @@ Create the file `bitbucket-pipelines.yml` with the contents below. This workflow will be used in other workflows. ```yaml -image: quay.io/hypernode/deploy:4-php8.3-node20 +# Here we use the latest Hypernode Deploy image with PHP 8.3 and Node.js 20 +image: quay.io/hypernode/deploy:latest-php8.3-node20 definition: steps: @@ -74,10 +75,7 @@ definition: Don't forget to set the specifications of the image to what your project needs. The same goes for the deploy steps. For example, if your project needs PHP 8.3 and Node.js 20, set the image to: ```yaml -jobs: - build: - container: quay.io/hypernode/deploy:4-php8.3-node20 - ... +image: quay.io/hypernode/deploy:latest-php8.3-node20 ``` ```` diff --git a/docs/hypernode-deploy/pipelines/github-actions.md b/docs/hypernode-deploy/pipelines/github-actions.md index 4fa86330..0815ca34 100644 --- a/docs/hypernode-deploy/pipelines/github-actions.md +++ b/docs/hypernode-deploy/pipelines/github-actions.md @@ -57,7 +57,8 @@ on: jobs: build: runs-on: ubuntu-latest - container: quay.io/hypernode/deploy:4-php8.3-node20 + # See https://quay.io/repository/hypernode/deploy?tab=tags for all possible tags. + container: quay.io/hypernode/deploy:latest-php8.3-node20 steps: - uses: actions/checkout@v3 - uses: actions/cache@v3 @@ -82,7 +83,7 @@ For example, if your project needs PHP 8.3 and Node.js 20, set the image to: ```yaml jobs: build: - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 ... ``` ```` @@ -112,7 +113,7 @@ jobs: environment: name: production url: https://www.example.com - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 steps: - uses: actions/checkout@v3 - name: download build artifact @@ -156,7 +157,7 @@ jobs: environment: name: acceptance url: https://acceptance.example.com - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 steps: - uses: actions/checkout@v3 - name: download build artifact diff --git a/docs/hypernode-deploy/pipelines/gitlab-ci.md b/docs/hypernode-deploy/pipelines/gitlab-ci.md index 779d40bc..4c47aac8 100644 --- a/docs/hypernode-deploy/pipelines/gitlab-ci.md +++ b/docs/hypernode-deploy/pipelines/gitlab-ci.md @@ -49,7 +49,7 @@ This sets the container image, defines the CI/CD stages and defines the build st ```yaml # See https://quay.io/repository/hypernode/deploy?tab=tags for all possible tags. -image: quay.io/hypernode/deploy:4-php8.3-node20 +image: quay.io/hypernode/deploy:latest-php8.3-node20 stages: - build @@ -72,7 +72,7 @@ build: Don't forget to set the specifications of the image to what your project needs. For example, if your project needs PHP 8.3 and Node.js 16, set the image to: ```yaml -image: quay.io/hypernode/deploy:3-php8.3-node16 +image: quay.io/hypernode/deploy:latest-php8.3-node16 ``` ```` diff --git a/docs/hypernode-platform/tools/how-to-deploy-your-application-using-hypernode-deploy-v1.md b/docs/hypernode-platform/tools/how-to-deploy-your-application-using-hypernode-deploy-v1.md index 2c88efbe..c7a9b68c 100644 --- a/docs/hypernode-platform/tools/how-to-deploy-your-application-using-hypernode-deploy-v1.md +++ b/docs/hypernode-platform/tools/how-to-deploy-your-application-using-hypernode-deploy-v1.md @@ -166,7 +166,7 @@ defaults: jobs: build: runs-on: ubuntu-latest - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 @@ -186,7 +186,7 @@ jobs: deploy_staging: needs: build runs-on: ubuntu-latest - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:latest-php8.3-node20 steps: - uses: actions/checkout@v2 - name: download build artifact