Git Product home page Git Product logo

Comments (8)

larryxiao625 avatar larryxiao625 commented on September 3, 2024

Excuse me, may I ask the process the issue. For that our program are using this for K8S auto deployment.

from k8s-deploy.

thesattiraju avatar thesattiraju commented on September 3, 2024

@Ray26 try with @v1 again.

from k8s-deploy.

thesattiraju avatar thesattiraju commented on September 3, 2024

Reopening this issue in reference to #26

from k8s-deploy.

 avatar commented on September 3, 2024

I am still receiving this error.

part of workflow file:

# Deploy app to AKS
    - name: Deploy to aks
      uses: azure/k8s-deploy@v1
      with:
        manifests: |
          deployment.yaml
        images: |
          $CONTAINER_REGISTRY/${{ github.repository }}/$IMAGE_NAME:$IMAGE_TAG
        imagepullsecrets: |
          dockerconfigjson-github-com

part of deployment.yaml

containers:
      - name: u8-sample-app
        image: docker.pkg.github.com/matthiasfalk/u8_sample_app/u8_sample_app:1
      imagePullSecrets:
        - name: dockerconfigjson-github-com

Image tags do not get updated properly. Could you investigate please?

from k8s-deploy.

thesattiraju avatar thesattiraju commented on September 3, 2024

Does $CONTAINER_REGISTRY/${{ github.repository }}/$IMAGE_NAME translate to docker.pkg.github.com/matthiasfalk/u8_sample_app/u8_sample_app?

from k8s-deploy.

 avatar commented on September 3, 2024

Hi @DS-MS: Yes, exactly. For me the uses: azure/[email protected] is not working.
I now tried it with the following workaround:

  • to "manually" open the deployment.yaml with yq,
  • update the tag
  • kubectl apply the edited deployment.yaml
    and it works but I would prefer to use the uses: azure/[email protected] action.

from k8s-deploy.

thesattiraju avatar thesattiraju commented on September 3, 2024

@matthiasfalk v1.3 is still in Pre-release. Is this issue happening for you in v1.2 as well?

cc: @ajinkya599

from k8s-deploy.

 avatar commented on September 3, 2024

@DS-MS v1.2 is working now. I needed to use the convention ${{env.CONTAINER_REGISTRY}}/${{ github.repository }}/${{env.IMAGE_NAME}}:${{env.IMAGE_TAG}}. All other actions could handle the format $CONTAINER_REGISTRY/${{ github.repository }}/$IMAGE_NAME:$IMAGE_TAG. So I guess, I found the solution.

from k8s-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.