Commit Graph

215 Commits (e077925f1d58039ff408c9ec7db4aeb5ad793c63)

Author SHA1 Message Date
dependabot[bot] 744d52c208 build(deps): Bump docker/setup-buildx-action from 2 to 3
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 20:15:03 +01:00
Paul Spooren 7d54eb29f5
Create dependabot.yml
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-02-12 16:08:09 +01:00
Paul Spooren 02638e0c36 ci: use mirror-03 as file host
The old mirror is no longer updated, please don't use it.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-02-12 15:24:13 +01:00
Paul Spooren d4d19c0757 disable schedule
An external script is used that polls our buildbot infrastructure and
triggers container builds.

It's only commented out so downstream project could use this as a
reference.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-02-05 10:45:05 +01:00
Paul Spooren 28c68d4266 ci: update actions/checkout to v4
To remove Node version warnings

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-02-05 10:42:03 +01:00
StarsbySea d8c5a53ed4 Fix quay.io urls
Signed-off-by: StarsbySea <66008060+StarsbySea@users.noreply.github.com>
2023-12-28 12:00:31 +01:00
Ali f3c55936b9 Update README.md
Fix URL for docker repositories

Signed-off-by: Ali <fakoor@gmail.com>
2023-10-06 00:15:01 +02:00
Ali fdefcbbf40 Update README.md
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>
2023-10-06 00:15:01 +02:00
Ali b3d9fdb633 Update README.md
- 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>
2023-10-06 00:15:01 +02:00
Paul Spooren e46a6fb4cb fix TARGET_FILTER corner case for SDKs
If a TARGET_FILTER is set only imagebuilder/sdk/rootfs for that target
are created. In case of the SDK multiple valid targets are in the same
row printed via `dump-target-info.pl`. With the previous logic the
"first" target is used expecting all targets to be on the same commit.
However when using TARGET_FILTER the specific target should be used for
the SDK, not just one that supports the same architecture.

A logic is added that if TARGET_FILTER is set, it's used as the SDK
target.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-09-30 03:42:08 +02:00
Paul Spooren 9681edad58 use mirror-01 as filehost
Previously the container would use downloads.openwrt.org aka mirror-02
which has a short delay on images. This would break webhooks since they
fire one ready on mirror-01 while not yet fully transferred to mirror-02.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-09-30 03:09:08 +02:00
Paul Spooren 5464f28b6a don't fail on empty rootfs matrix
Some targets don't create a rootfs. Don't fail in those cases.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-09-29 23:23:30 +02:00
Jeffery To da8723d08f CI: Change 21.02 builds from weekly to monthly
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 20:37:33 +02:00
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 755ed45745 Base docker on ghcr.io containers
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-05-16 08:51:53 +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 3598be3ba0 README: update to GitHub
Signed-off-by: Paul Spooren <mail@aparcar.org>
2023-04-21 00:15:52 +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 a633a801af ci: drop GitLab
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 5605f7f2dd readme: s/openwrtorg/openwrt and mark rootfs experimental
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>
2023-03-20 18:45:23 +01:00
Andrey f462ab7c9c Update README.md with links
provide links for SDK and Image Builder
2023-03-20 18:37:17 +01: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
Petr Štetiar 54561b55a4 generate-targets: explicitly set container image to Debian 11
Otherwise it would use runner default, which might be unpredictable, as
for example GitLab provided public runners are using `ruby:2.5` as
default container image, but true.cz runners are using `debian:10`. So
lets fix it by using Debian 11 image by default.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2023-01-02 11:52:28 +01:00