Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build_env doesn't work #33

Open
ALL-SPACE-Anas opened this issue Sep 25, 2024 · 0 comments
Open

build_env doesn't work #33

ALL-SPACE-Anas opened this issue Sep 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ALL-SPACE-Anas
Copy link

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.

@ALL-SPACE-Anas ALL-SPACE-Anas added the bug Something isn't working label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant