Commit Graph

31 Commits (b0deb277e1efb061e30401a4bd4d2df709fa0624)

Author SHA1 Message Date
Jeffery To b0deb277e1 CI: Change 22.03 builds to Tuesdays
22.03 snapshots appear to be built on weekends, so shifting builds to
Tuesdays should allow the Docker images to package the newest snapshots
more consistently.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 20:37:33 +02:00
Jeffery To 03647585b6 CI: Add daily builds for 23.05
Fixes: https://github.com/openwrt/docker/issues/115
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 20:37:33 +02:00
Jeffery To 770d98ef91 CI: Fix typos
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 20:37:33 +02:00
Jeffery To ee6571892e CI: Skip GitHub registry login for imagebuilder/rootfs for pull requests
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 20:37:33 +02:00
Jeffery To bf3ae2c308 CI: Add "latest" tag for x86_64 snapshot sdk
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 20:37:33 +02:00
Jeffery To 01e5cfccd7 CI: Add target/arch tags (no suffix) for snapshot images
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 20:37:33 +02:00
Jeffery To ecd0a15ae0 Rename "master" to "main"
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>
2023-06-29 20:37:33 +02:00
Paul Spooren b3af84bc5e CI: skip push step on PRs
Add the condition on the step level and not the push action. This way
it's clear nothing got pushed from the CI overview.

Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-06-21 09:39:10 +02:00
Paul Spooren 0a2b84ab1e CI: format job matrix with jq
To increase readability during debugging.

Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-06-21 09:39:10 +02:00
Paul Spooren f7a587c98f CI: use case instead of if to support armsr
Instead of using a definied list with an if condition, use a case
statement with wildcards to match on either `armsr` or `armvirt`
(legacy). This should keep support for both 23.05.x and newer releases.

Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-06-21 09:39:10 +02:00
Brénainn Woodsend e61e5180a0 Fix multiarch rootfs containers being mislabelled as AMD64.
* Set the platforms argument to docker/build-push-action.

* Insert a minimal *is it runable* test in between building and pushing
  the rootfs images.

Fixes #112.
2023-05-25 13:38:08 +02:00
Paul Spooren 696b2a5d3d ci: add missing wildcard to case
This should fix manual branch building.

Note to myself, always add tests to CI.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-24 08:52:18 +02:00
Paul Spooren 3f8662f697 ci: fix copy paste typo
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-23 14:13:20 +02:00
Paul Spooren 0fb5e4b22a ci: fix two typose resulting in snapshot fallback
VERSION_PATH would stay empty due to typo

Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-22 20:46:01 +02:00
Paul Spooren 362524ca6d ci: move Dockerfile.unify to Dockerfile
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-21 00:15:52 +02:00
Paul Spooren 12858b8ed1 ci: add more tags
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-20 22:31:43 +02:00
Paul Spooren 0e9759bde7 ci: enable pull_request trigger for testing
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-20 15:44:52 +02:00
Paul Spooren 6161674e1e ci: fix TARGET_FILTER quotes
Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-19 15:13:42 +02:00
Paul Spooren 5e4e954daa ci: s/enabled/enable/ typo
Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-19 12:02:13 +02:00
Paul Spooren 49665a0721 ci: s/QUAT/QUAY typo
Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-19 11:58:52 +02:00
Paul Spooren a0cc41e60a ci: use secret for usernames
Those usernames are not really secret but should be possible to set to
whatever value seems suited.

Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-18 16:15:26 +02:00
Paul Spooren f26e53195d ci: remove fetch-depth=0 to speed up builds
It's not actually needed since the ref is directly checked out.

Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-18 14:40:24 +02:00
Paul Spooren 492b909320 ci: add quay.io
Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-18 14:10:14 +02:00
Paul Spooren 34bb972caf ci: simplify TARGET_FILTER
Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-18 14:10:14 +02:00
Paul Spooren 654fddac49 ci: fix missing echo
Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-18 13:25:15 +02:00
Paul Spooren e85b6bb40b rootfs: create rootfs matrix based on script
This way the TARGET_FILTER is applied, too

Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-18 13:16:39 +02:00
Paul Spooren 679a70d332 ci: add target input to only run for single target
Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-17 16:46:32 +02:00
Paul Spooren 17f20a8b8e ci: don't cancel other running builds
Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-04-17 16:39:00 +02:00
Paul Spooren b581a14ed1 ci: fixup broken newline in SDK tags
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-15 10:20:14 +02:00
Paul Spooren 859ccee593 uploader to docker.io
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-15 01:50:14 +02:00
Paul Spooren fd9b8caa4d ci: switch to GitHub actions
simplify much, GitLab less

Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
2023-03-20 18:31:20 +01:00