Moeta Yuko
ad118a4b0e
update base image to buildworker 3.11.8
...
Fixes https://github.com/openwrt/gh-action-sdk/issues/43
2024-11-03 18:52:32 +01:00
Andrey Butirsky
00a38e539f
Update README.md: add missing SDK tags
...
fix #148
Signed-off-by: Andrey Butirsky <butirsky@gmail.com>
2024-10-01 09:21:27 +02:00
Paul Spooren
7d14bdaa7a
ci: don't cache docker builds
...
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-08-06 15:17:07 +02:00
Paul Spooren
26cae77722
ci: prune after building
...
Without the cleanup the system is full after a single day...
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-07-31 18:41:00 +02:00
Paul Spooren
3724e26fa1
ci: only use apt during testing
...
Real container pushing happens on a device where QEMU is already
installed.
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-07-31 00:37:06 +02:00
Paul Spooren
d629f7ea1a
ci: run on docker-builder
...
Our CI is often heavily overloaded by CI testing jobs, however those
Docker containers shouldn't be delayed by multiple hours. Let's have our
own builder that does nothing but uploading those containers in time.
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-07-31 00:17:21 +02:00
Moeta Yuko
66519f65d1
ci: use whole word matching for TARGET_FILTER
...
If the target name is a substring of another (e.g. malta/be and malta/be64),
pushing the current target image will mistakenly override the other one.
Fixes #142
2024-07-25 12:43:08 +02:00
dependabot[bot]
974d1ad86d
build(deps): Bump docker/build-push-action from 5 to 6
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 14:06:03 +02:00
Paul Spooren
27f2feaf3d
ci: add run-name
...
This should make things prettier
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-06-17 11:27:07 +02:00
Paul Spooren
4f24894b84
ci: allow to set file_host and prefix
...
This is nice for creating APK based containers.
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-06-12 16:46:55 +02:00
Paul Spooren
017ab6488d
Support new zstd compressed archives
...
ImageBuilder and SDK compression switched to zstd due to the recent XZ
backdoor event and overall complexity of the XZ design.
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-04-15 09:29:37 +02:00
Paul Spooren
eba0c3a321
update base image to buildworker 3.11.1
...
Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-04-15 09:29:37 +02:00
dependabot[bot]
cc0afc9373
build(deps): Bump docker/build-push-action from 3 to 5
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v5 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 20:15:55 +01:00
dependabot[bot]
48f2e09e43
build(deps): Bump docker/login-action from 2 to 3
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 20:15:40 +01:00
dependabot[bot]
4113c96684
build(deps): Bump docker/metadata-action from 4 to 5
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md )
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 20:15:23 +01:00
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