Azure / container-apps-deploy-pipelines-task

Azure Pipelines Task (Release Candidate) for building and deploying Azure Container Apps
MIT License
6 stars 10 forks source link

Add support for images from docker hub #18

Open polferov opened 1 year ago

polferov commented 1 year ago

It would be cool to have support for images from docker hub.

I could imagine that to look something like this (for public images):

- task: AzureContainerAppsRC@0
  inputs:
    azureSubscription: 'azureSubscription'
    imageToDeploy: 'docker.io/user/image:$(Build.BuildId)'
    useDockerHub: true
    containerAppName: 'containerAppName'
    resourceGroup: 'resourceGroup'

Using docker hub could be implied by the imageToDeploy and/or the missing acrName and/or a useDockerHub property.

MateuszWalecki commented 1 year ago

I totally agree, any updates with this?

cormacpayne commented 1 year ago

@polferov @MateuszWalecki Hey folks, we have a pull request in our equivalent GitHub Action repository that introduces a set of arguments that allow for pushing images to any container registry using U/P authentication -- we definitely have plans on migrating these changes over to the AzureContainerAppsRC and AzureContainerApps tasks as well, but don't have a definitive date on when that work will be done. I'll keep this thread updated with any news from our side. Feel free to let me know if you have any questions!