Commit Graph

146 Commits

Author SHA1 Message Date
Fernando Fernández e874dc1f3e
Publish images to GHCR alongside DockerHub (#940)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2021-10-31 14:39:56 +00:00
Dan Schaper aefeb2bc8d
Use hub namepace in all actions.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2021-10-03 14:15:30 -07:00
Dan Schaper 4782f15123
Add DOCKERHUB_NAMESPACE variable.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2021-10-03 13:41:31 -07:00
Dan Schaper 73a335533b
Use the namespace from secrets so others can build too.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2021-10-03 10:00:00 -07:00
Adam Warner 3696f6065f
Actually not needed as you can already choose to run it against whatever branch.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-16 20:58:35 +01:00
Adam Warner 9740d2b86a
Add option to run build against another branch to workflow_dispatch
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-16 20:54:42 +01:00
Adam Warner c371768800
And ppc64le - It might work, it might not. Someone will tell us if it doesn't.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-15 18:32:38 +01:00
Adam Warner bc545b6049
Add `linux/arm/v6` to `platforms:`
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-15 18:28:09 +01:00
Adam Warner 3942d9a740
Repalce PIHOLE_TAG with PIHOLE_VERSION, it isn't actually needed after all.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-12 23:43:59 +01:00
Adam Warner 944bc8eb79
use metadata-action to handle image tag names
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-12 23:27:06 +01:00
Adam Warner 55a682a94c
Use the correct namespace to upload the images...
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-12 22:53:38 +01:00
Adam Warner 7624fc3d56
Reduce Test step to only one arch (amd64/buster)
Migrate build and push step to native github actions using docker buildX - which should _hopefully_ resolve #735
Make some adjustments to Dockerfile/build.yml/install.sh to allow both gh-actions-test.sh to build using the test suite, and github actions native commands to build online

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-12 22:34:24 +01:00
Adam Warner 17453166c2
[skip ci] I read the docs for actions/checkout wrong
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-12 17:09:47 +01:00
Adam Warner 521bed1c4f
No need to build `stretch` images as well as `buster`
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-12 17:03:13 +01:00
Adam Warner 1cc3159518
update workflows to use env vars instead of patching VERSIONS file
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-12 16:53:17 +01:00
Adam Warner 1a7bfdc2ee
[skip ci] remove tag trigger, add release trigger
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-11 23:30:26 +01:00
Adam Warner d84851c7a3
[skip ci] wildcard tags filter?
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-11 23:05:54 +01:00
Adam Warner f0f96ee1ab
[skip ci] Remove nightly beta build
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-11 22:55:56 +01:00
Adam Warner 52b21c6ef6
remove a bunch of filters for the branch builds. No sense in building `master`, and the other patterns are rarely actually used.
Remove the v* filter from tag to support proposed new tag versioning format (no v up the front end)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-11 18:58:46 +01:00
Adam Warner 22ce49a123
Update nightly-build beta-v5.9.yml 2021-09-01 16:47:17 +01:00
Dan Schaper 93092da023
Merge branch 'master' into feature/dependabot-actions 2021-08-25 14:22:58 -07:00
Adam Warner 8700afa74d
Add a nightly job for beta-v5.9 build. I keep forgetting to do it.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-08-21 13:48:17 +01:00
Dan Schaper 066f891cc1
Dependabot manage GHA versions.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2021-08-13 21:51:01 -07:00
Adam Warner bdaf352a23
Allow for passing in optional branch name to workflow_dispatch build
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-08-04 18:52:37 +01:00
Adam Warner 76be304d79
remove #yolo from nightly build yml
add custom build task... (not holding my breath)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-07-04 18:52:13 +01:00
Adam Warner 0954c9f3dd
[skip ci] remove buster from builds for now - they are not currently functional.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-05-12 20:23:51 +01:00
Adam Warner 3acf505a1a
[skip ci] Update multi-arch nightly build script, too. 2021-05-12 20:14:52 +01:00
Adam Warner 60063a81fd
[Skip CI] Change nightly time from every 5 mins to 2am 2021-05-12 19:23:10 +01:00
Adam Warner 4963578fb5
Update nightly-experiment.yml 2021-05-12 18:45:55 +01:00
Adam Warner e64b1d0c0a
Create nightly-experiment.yml 2021-05-12 18:35:38 +01:00
static-void-main 6292fd1294 Add i386 arch
Signed-off-by: static-void-main <33235498+static-void-main@users.noreply.github.com>
2021-04-15 00:15:31 +02:00
Daniel 26aea62e22
Added new Debian version: bullseye (#828)
Signed-off-by: Daniel <daniel@developerdan.com>
2021-04-13 18:09:31 +01:00
Dan Schaper e6307df638
Add required front matter to bug report template. 2021-02-18 12:56:33 -08:00
Dan Schaper bcd9ad5157
Copy default config.yml
From the docs:

> If a repository has any files in its own .github/ISSUE_TEMPLATE folder, including issue templates or a config.yml file, none of the contents of the default .github/ISSUE_TEMPLATE folder will be used.

So we need to copy the config.yml since it will be ignored.
2021-02-18 10:25:05 -08:00
Dan Schaper 6e1e93112d
Override default issue templates 2021-02-18 10:17:40 -08:00
Adam Hill daa3c1e45c
releases tags with ^v 2020-08-09 21:39:57 -05:00
Adam Hill d96a7fe887 return to original to double check if it build branch pushes separately from PRs or not
Signed-off-by: Adam Hill <adam@diginc.us>
2020-07-17 21:41:57 -05:00
Adam Hill 28bec77984 fix repo name
Signed-off-by: Adam Hill <adam@diginc.us>
2020-07-17 20:51:19 -05:00
Adam Hill 9c791f099f Allow internal PRs to push
Signed-off-by: Adam Hill <adam@diginc.us>
2020-07-17 20:35:55 -05:00
Daniel 752d83aeaa
Introduce additional docker tags for the debian version.
* Added new docker tag variations to specify the debian version ('stretch', and 'buster').
* Arch images are alway as specific as possible: pihole/pihole:master-amd64-stretch
* Multiarch images have both the specific debian version tags as well as the generic non-debian tags: pihole/pihole:master-stretch & pihole/pihole:master
* Currently, the non-specific tags point to the 'stretch' images. Eventaully it can be migrated to 'buster'.
* Use GitHub actions to do the builds. Although the script names include 'gh-actions' to differentiate them from the 'circle' scripts, there is zero logic that is specific to Github (ie. no Github environment variables).
* 'armhf:buster' & 'arm64:buster' has an issue with `ip route get`. I think the issue is related to 'qemu', but I'm not sure. Update the `validate_env` function to only use `ip route get` if `nc` reports something strange.

Signed-off-by: Daniel <daniel@developerdan.com>
2020-06-29 09:34:19 -04:00
Adam Hill d832213e3c limit branches to be built
Signed-off-by: Adam Hill <adam@diginc.us>
2020-06-02 08:59:37 -05:00
Adam Hill ce3d6e866e
Merge pull request #628 from SuperSandro2000/patch-1
Don't bind to 127.0.0.1 when listening on all ports
2020-05-30 14:25:55 -05:00
Daniel 55ee5d0e60 Run circle-test.sh in Github Actions on push or PR
Signed-off-by: Daniel <daniel@developerdan.com>
2020-05-28 23:18:52 -04:00
Adam Hill c619303a30
Update ISSUE_TEMPLATE.md 2020-05-15 09:53:14 -05:00
Adam Hill 89b6b2a75e
Create PULL_REQUEST_TEMPLATE.md 2018-03-20 10:07:20 -05:00
Adam Hill 156679c925
Create ISSUE_TEMPLATE.md 2018-03-19 17:47:15 -05:00