Kyle Harding
57a39932c0
Rework of build and deploy actions using a build matrix
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2022-01-11 20:23:58 -05:00
Kyle Harding
7a8d0ba473
Remove revbot and just rely on sha/pr/branch tags instead
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2022-01-11 15:11:12 -05:00
Kyle Harding
23ef9e41a8
Revert "Use semver pattern matching for release tags"
...
This reverts commit 791193512a .
2021-12-16 09:33:16 -05:00
Kyle Harding
fc57067fc3
Use docker-compose to run tests
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-12-15 09:01:54 -05:00
Kyle Harding
791193512a
Use semver pattern matching for release tags
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-12-15 08:01:43 -05:00
Kyle Harding
f947f64e72
Move QEMU action to after build step
...
It should not be required for building, only for testing
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-12-13 19:18:34 -05:00
Kyle Harding
01b27395a8
Rename the project and deploy to klutchell/unbound
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-12-13 19:18:34 -05:00
Kyle Harding
c99f4cd0d8
Remove stale issues action
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-10-06 08:18:00 -04:00
Kyle Harding
3afd601f58
Rework of GH actions
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-10-05 15:24:06 -04:00
Kyle Harding
85ec5d877a
Rename revbot workflow
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-08 13:40:57 -04:00
Kyle Harding
76919eb7c1
checkout before build
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-07 19:39:18 -04:00
Kyle Harding
3c17f5d0f5
Use revbot token to trigger other workflows
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-07 19:34:28 -04:00
Kyle Harding
6a77a20b6c
Move revbot back to it's own workflow
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-07 16:45:12 -04:00
Kyle Harding
964a0dbca3
Set fetch-depth for revbot
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-07 16:12:16 -04:00
Kyle Harding
14b46c3972
Move revbot to docker flow
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-07 16:10:30 -04:00
Kyle Harding
855b871d28
fixup revbot
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-07 16:02:11 -04:00
Kyle Harding
6f950d2e5d
fixup revbot
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-07 16:00:22 -04:00
Kyle Harding
4d51247531
Split revbot and docker into separate workflows
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-07 15:55:45 -04:00
Kyle Harding
a1ada2ce88
Use meta-docker tags as a test matrix
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-07 13:45:33 -04:00
Kyle Harding
8035226047
CI rework using docker-meta actions
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-09-07 11:26:01 -04:00
Kyle Harding
61a845d231
Check user permissions before login to registries
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-17 16:47:41 -04:00
Kyle Harding
9dff712418
Merge development and release deploy jobs
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-17 12:13:18 -04:00
Kyle Harding
f116c129f0
Use skopeo to copy images between jobs
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-17 11:58:44 -04:00
Kyle Harding
ae19e5a1a9
Update readme and remove deploy script
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-15 14:38:08 -04:00
Kyle Harding
482c0afaf7
Use TARGETARCH to load the correct arch config
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-15 13:20:41 -04:00
Kyle Harding
7d9458da13
Fix pushing of images to multiple repos
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-14 21:03:23 -04:00
Kyle Harding
7573353aca
disable github container registry for now
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-14 17:11:53 -04:00
Kyle Harding
ca72720a34
Switch back to GITHUB_TOKEN for ghcr auth as per the docs
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-14 16:54:09 -04:00
Kyle Harding
1263cc3853
Switch to CR_PAT for ghcr auth
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-14 16:31:01 -04:00
Kyle Harding
5c0dbdf6ce
Merge pull request #8 from klutchell/dependabot/github_actions/akhilerm/tag-push-action-1.1.0
...
build(deps): bump akhilerm/tag-push-action from 1.0.0 to 1.1.0
2021-08-14 16:23:10 -04:00
Kyle Harding
11ffd9056d
Inspect image after build
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-14 16:20:39 -04:00
dependabot[bot]
fedc856fea
build(deps): bump akhilerm/tag-push-action from 1.0.0 to 1.1.0
...
Bumps [akhilerm/tag-push-action](https://github.com/akhilerm/tag-push-action ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/akhilerm/tag-push-action/releases )
- [Commits](https://github.com/akhilerm/tag-push-action/compare/v1.0.0...v1.1.0 )
---
updated-dependencies:
- dependency-name: akhilerm/tag-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-14 19:43:27 +00:00
Kyle Harding
551c5fb362
Rework CI to use a single job and local registry
...
Also avoid overriding the unbound version included with buildroot.
Instead we should be bumping the unbound version upstream if required.
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-08-14 15:41:44 -04:00
Kyle Harding
b205a283c9
Free disk space before manifest build
...
Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-02-13 07:48:31 -05:00
Kyle Harding
07ae6641de
unbound: update to release 1.13.1
...
https://nlnetlabs.nl/projects/unbound/download/#unbound-1-13-1
Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io >
2021-02-12 08:16:59 -05:00
Kyle Harding
cb2ff20282
github-actions: switch to ubuntu-20.04 base images
...
Soon github actions will default to 20.04 for ubuntu-latest anyway
so we might as well hardcode the new version now.
Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io >
2020-12-09 16:06:23 -05:00
Kyle Harding
a3243a2366
Dockerfile: use buildkit platform args
...
When building with buildkit (such as buildx) we have a number of
platform args made available in the global scope.
https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
By using these we can switch between rootfs base images and avoid the need
for qemu emulation when compiling with buildroot.
Change-type: minor
Signed-off-by: Kyle Harding <kyle@balena.io >
2020-12-09 13:50:00 -05:00