Giter Site home page Giter Site logo

Comments (1)

georgik avatar georgik commented on September 4, 2024 3

Hi @atanisoft and @sebastianPsm .

I was investigating options on how to make switching of ESP-IDF possible. Unfortunately, GitHub has an official limitation: It's not possible to specify Docker image tag by variable.

However, I found a different approach. It's possible to create branches of GitHub Action and tag them so they match ESP-IDF Docker images tag. Then it's possible to specify in the workflow version as ref.

E.g.:

    - name: esp-idf build
      uses: georgik/esp-idf-ci-action@latest
      with:
        path: 'esp32-s2-hmi-devkit-1/examples/smart-panel'

I've updated the fork of this repo and created few tags like the latest, release-v4.3 and v4.2.1.
Here is the repo: https://github.com/georgik/esp-idf-ci-action

Please, check the solution and let me know your opinion.

One other suggestion was to add a script switch of a branch into the image. This is possible, but for older versions of ESP-IDF it will mean extra download of binaries with tooling which are not present in the latest branch.

from esp-idf-ci-action.

Related Issues (1)

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.