mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valera V Harseko
2 days ago d7a519ff05732346ba63f18dd53285e334a6a09c
Benchmark: fix OpenLDAP image name to vegardit/openldap

The Docker Hub image is published as `vegardit/openldap`, not
`vegardit/docker-openldap` (that is the GitHub repository name). The wrong name
made `docker run` fail with "pull access denied / repository does not exist".
Fix both the input default and the env fallback.
1 files modified
4 ■■■■ changed files
.github/workflows/benchmark.yml 4 ●●●● patch | view | raw | blame | history
.github/workflows/benchmark.yml
@@ -25,7 +25,7 @@
    inputs:
      openldap_image:
        description: "OpenLDAP Docker image"
        default: "vegardit/docker-openldap:latest"
        default: "vegardit/openldap:latest"
      opendj_image:
        description: "OpenDJ Docker image"
        default: "openidentityplatform/opendj:latest"
@@ -63,7 +63,7 @@
    runs-on: ubuntu-latest
    env:
      # `${{ inputs.X || 'default' }}` so workflow_run (which carries no inputs) falls back.
      OPENLDAP_IMAGE: ${{ inputs.openldap_image || 'vegardit/docker-openldap:latest' }}
      OPENLDAP_IMAGE: ${{ inputs.openldap_image || 'vegardit/openldap:latest' }}
      OPENDJ_IMAGE: ${{ inputs.opendj_image || 'openidentityplatform/opendj:latest' }}
      THREADS: ${{ inputs.threads || '200' }}
      DURATION: ${{ inputs.duration || '300' }}