Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. dustin.davis_2758

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    D Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    dustin.davis_2758

    @dustin.davis_2758

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    dustin.davis_2758 Unfollow Follow

    Latest posts made by dustin.davis_2758

    • How to provide ProGet feed name in Azure DevOps Docker-Compose task?

      Whenever I am pushing to ProGet from Azure DevOps using the "Docker Compose" task, I recieve an error that I did not provide the feed name.

      Here is my azure-build.yml.

      trigger:
      - master
      
      pool:
        name: [redacted]
      
      steps:
      - task: DockerCompose@0
        displayName: Build services
        inputs:
          action: Build services
          containerregistrytype: Container Registry
          dockerRegistryEndpoint: Proget Docker
          dockerComposeFile: docker-compose.yml
          projectName: [redacted]
          qualifyImageNames: false
          additionalImageTags: |
           $(Build.BuildId)
           latest
      
      - task: DockerCompose@0
        displayName: Push services
        inputs:
          containerregistrytype: Container Registry
          dockerRegistryEndpoint: Proget Docker
          action: Push services
          dockerComposeFile: docker-compose.yml
          projectName: [redacted]
          qualifyImageNames: true
          additionalImageTags: |
           $(Build.BuildId)
           latest
      

      The build completes. The push runs into an error.

      The error I receive:

      Docker repository names in ProGet must include the feed as a prefix. Example: MyFeed/library/ubuntu
      

      I need to use the Docker-Compose task for this specific service. To contrast, here's my regulars "Docker Build" task that lets me include the whole repository name and works every time:

      trigger:
      - master
      
      pool:
        name: [redacted]
      steps:
      - task: Docker@2
        displayName: buildAndPush
        inputs:
          containerRegistry: 'Proget Docker'
          repository: [org name (feed?)]/[image name]
          Dockerfile: Dockerfile
          buildContext: .
          tags: |
           $(Build.BuildId)
           latest
      

      How do I provide the Feed prefix with the docker-compose task?

      posted in Support
      D
      dustin.davis_2758