Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. dustin.davis_2758
    D
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    dustin.davis_2758

    @dustin.davis_2758

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

    dustin.davis_2758 Follow

    Best posts made by dustin.davis_2758

    This user hasn't posted anything yet.

    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