Skip to content

build_env doesn't work #33

Open
Open
@ALL-SPACE-Anas

Description

@ALL-SPACE-Anas

I think I'm trying a straight forward deployment.

    - name: Deploy postgres app
      id: postgres-deploy
      uses: redhat-actions/[email protected]
      with:
        app_name: postgres
        build_env:
          POSTGRESQL_USER=###
          POSTGRESQL_PASSWORD=###
          POSTGRESQL_DATABASE=###
        image: registry.access.redhat.com/rhel9/postgresql-16:1-29.1726663416
        namespace: ${{ env.OPENSHIFT_NAMESPACE }}
        port: 5432

But environment variables are not recognized by the pod and I cannot access any of the environment variables inside the container. I have tried adding build_env: | as shown in the example

but that hasn't changed anything unfortunately. I'm assuming the environment variables show up in the deployment manifest but they aren't there.

Using OKD 4.15.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions