Code Monkey home page Code Monkey logo

Comments (8)

brenoalvs avatar brenoalvs commented on July 4, 2024 10

I was suffering with the same issue but I've found the solution.
You need to add the registry-login-server parameter also on the "Deploy" block.

- name: Deploy container to an azure container instance
      uses: 'azure/aci-deploy@v1'
      with:
        resource-group: docker-registry
        dns-name-label: timekeeping-app
        image: registry.azurecr.io/timekeeping-app:latest
        registry-login-server: ${{ secrets.REGISTRY_LOGIN_SERVER }}
        registry-username: ${{ secrets.REGISTRY_USERNAME }}
        registry-password: ${{ secrets.REGISTRY_PASSWORD }}
        name: timekeeping-container
        location: 'west europe'

Guys, please update/sync the docs between the docs site and GitHub they're very inconsistent.

from aci-deploy.

ANicholasson avatar ANicholasson commented on July 4, 2024 1

Hi @kanika1894,
It's been quite a while since I created the issue, and I did at that time come up with another solution. As far as I can see, it looks like @brenoalvs statet a solution to this "problem"/question quite a while ago. Not sure if this issue is relevant to keep open, so you can close it.

from aci-deploy.

anraghun avatar anraghun commented on July 4, 2024

@narula0781 @ashishonce It seems from the Microsoft doc that the registry-login-server is a required input. But it's an optional input in the action.yml file. Can you please check whether it needs to be updated?

from aci-deploy.

kanika1894 avatar kanika1894 commented on July 4, 2024

@anraghun @narula0781 @ashishonce any updates on this?

from aci-deploy.

narula0781 avatar narula0781 commented on July 4, 2024

@kaverma is owning this up . You can reach out to her..

from aci-deploy.

github-actions avatar github-actions commented on July 4, 2024

This issue is marked need-to-triage for generating issues report.

from aci-deploy.

github-actions avatar github-actions commented on July 4, 2024

This issue is idle because it has been open for 14 days with no activity.

from aci-deploy.

kanika1894 avatar kanika1894 commented on July 4, 2024

Hey @ANicholasson,
registry-login-server becomes a mandatory parameter when the user wants to pick the image from the specified registry.
But this action also supports the scenario where the user can specify certain Quickstart images such as
nginx, aci-helloworld, etc. in which it is not a compulsory input.
Hope this helps!

from aci-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.