Concourse: Unable to refer the docker tag with a variable - Stack Overflow

How do I refer the docker image tag using the variable in the below Concourse YAML file ? The below YAM

How do I refer the docker image tag using the variable in the below Concourse YAML file ? The below YAML file is giving me the error "failed to interpolate task config: undefined vars: DOCKERBOX_VERSION"

jobs:
- name: build
  plan:
  - task: run-script
    config:
      platform: linux
      image_resource:
        type: docker-image
        source:
          repository: hubpany/group/concourse/dockerbox
          tag: ((DOCKERBOX_VERSION))
      params:
        DOCKERBOX_VERSION: 3.0.0
      run:
        path: sh
        args:
          - -exc
          - |
            echo "DOCKERBOX_VERSION is set to: $DOCKERBOX_VERSION"
            # Add your script commands here
            echo "Script completed."

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743754515a4501512.html

相关推荐

  • Concourse: Unable to refer the docker tag with a variable - Stack Overflow

    How do I refer the docker image tag using the variable in the below Concourse YAML file ? The below YAM

    5天前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信