skip to Main Content

How do I use Docker environment variable in ENTRYPOINT array? issue facing in Kubernetes ,not fetching the env variable,

We're using gitlab for CI/CD.I'll include the script which we're using services: - docker:19.03.11-dind workflow: rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH == "developer" || $CI_COMMIT_BRANCH == "stage"|| ($CI_COMMIT_BRANCH =~ (/^([A-Z]([0-9][-_])?)?SPRINT(([-_][A-Z][0-9])?)+/i)) when: always - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH ||…

VIEW QUESTION

Docker Compose: depends_on with condition -> invalid type, should be an array

I have the following compose file: version: "3" services: zookeeper: image: docker-dev.art.intern/wurstmeister/zookeeper:latest ports: - 2181:2181 kafka: image: docker-dev.art.intern/wurstmeister/kafka:latest ports: - 9092:9092 environment: - KAFKA_LISTENERS=PLAINTEXT://:9092 - KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092 - KAFKA_ADVERTISED_HOST_NAME=kafka - KAFKA_ADVERTISED_PORT=9092 - KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181 depends_on: - zookeeper app: build: context: ./ dockerfile:…

VIEW QUESTION
Back To Top
Search