OpenWrt switched to using ZSTD compressed tarballs a while ago, so using
the current example DOWNLOAD_FILE arg will result in the built container
not being able to find any files since that tarball is missing.
So, update to also look for .tar.zst as well.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Conditionally run setup.sh in kick-start command instructions.
If you download a snapshot container it only contains the setup.sh.
Conditioning to the /scripts folder existence means repeatedly executing
the same commands doesn't execute the setup script repeatedly, but only
if it has not yet been run. You skip download steps which have already
been executed. The instructions provided are copy-paste anyway.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Instead of causing infinite amounts of traffic per day, only ship a
preconfigured setup.sh file with SNAPSHOT containers and ask the
downstream user to run `setup.sh` on their own.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Organize link to each type of container for each registry
convert the global warning to a note specific to docker.io
Signed-off-by: Ali <fakoor@gmail.com>
- Align order of presence for container introductions with their details respectively
- Improve the sentence and add link to the new (existing) docker.io handle
- Fix a typo
Signed-off-by: Ali <fakoor@gmail.com>
Continue to accept "master" for manual releases, and add "master"
suffixed tags for main branch images, for backwards compatibility.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Docker is sunsetting free stuff so we drop pushing to openwrtorg, use
openwrt instead. Also don't use the `rootfs` for anything real.
Signed-off-by: Paul Spooren <mail@aparcar.org>
On the website https://hub.docker.com/r/openwrtorg/rootfs/tags there are more
tags which we can use, let's mention them in README as well.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
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>