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.
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 thanmaster
, however for compatibility with existing setups themaster
tag is still added.Signed-off-by: Paul Spooren mail@aparcar.org