openwrt / docker

Docker containers of the ImageBuilder and SDK
GNU General Public License v2.0
495 stars 78 forks source link

replace BRANCH with VERSION #64

Closed aparcar closed 4 years ago

aparcar commented 4 years ago

The generate_targets.sh script requires to run on a specific branch to only generate jobs for existing targets. The BRANCH variable was however used for VERSION rather than the branch running on.

This changes the behaviour by automatically selecting the correct branch and only taking the new VERSION env variable into account.

By doing so new Docker container tags include snapshot rather than master, however for compatibility with existing setups the master tag is still added.

Signed-off-by: Paul Spooren mail@aparcar.org

ynezz commented 4 years ago

Thanks!