Commit Graph

58 Commits

Author SHA1 Message Date
Mitchell Syer
7ccf93ed15 Ignore Reuploads (#97)
* Ignore Reuploads

* Add Test
2024-04-06 23:51:48 -04:00
schroda
7b672f8a99 Fix/overwriting settings with comments with extension variables (#95)
* Overwrite config settings with comments correctly

Comments were either removed or broke the setting value due to incorrect formatting

* Fix "webUIEnabled" env var name

* Delete container only after receiving its logs

Due to the "-rm" option when starting the container, it was immediately deleted after it was stopped.
This prevented the workflow from getting the containers logs since it didn't exist anymore at this point of time and instead an error was raised

* Print container logs in case of failure

* Add a workflow step to test the container with passing env vars
2024-03-10 19:22:57 -04:00
dependabot[bot]
55b611942f [skip ci] Bump docker/setup-buildx-action from 2 to 3 (#54)
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 21:14:13 -05:00
dependabot[bot]
a1813b7416 [skip ci] Bump docker/setup-qemu-action from 2 to 3 (#53)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 21:14:02 -05:00
dependabot[bot]
2d964c7bb1 [skip ci] Bump docker/build-push-action from 4 to 5 (#52)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 21:13:53 -05:00
dependabot[bot]
7b1a80abe1 [skip ci] Bump docker/login-action from 2 to 3 (#51)
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 21:13:44 -05:00
dependabot[bot]
7a110c568e [skip ci] Bump actions/checkout from 3 to 4 (#50)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 21:13:25 -05:00
Syer10
0e61489fa1 Maybe fix PR workflows 2024-02-19 21:04:38 -05:00
Mitchell Syer
d2fd1bbf73 Fix Container Test 2024-01-05 15:09:13 -05:00
Mitchell Syer
af8f17924a Update container.yml (#67) 2024-01-05 14:19:39 -05:00
Nogweii
51dcfa9d68 declare the discord related secrets and mark inheritance (#38) 2023-05-29 21:33:10 -04:00
dependabot[bot]
07cbec44d9 Bump docker/build-push-action from 3 to 4 (#27)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 21:22:55 -04:00
Nogweii
c616a13ea6 workflow_call doesn't support the choice input (#37) 2023-05-29 21:09:43 -04:00
Nogweii
c900249ebc Split the workflow into multiple files (#36)
Now, container.yml is the central place for all of the logic. It is
never invoked directly, instead it is called by sibling workflows
'build_container_images.yml' and 'preview_build_on_push.yml'.
2023-05-29 21:02:43 -04:00
Nogweii
081804d534 The latest tag is for stable releases (#35) 2023-05-29 20:31:19 -04:00
Nogweii
e5f7c812b2 Don't pass any parameters to the checkout action (#34)
* don't pass any parameters to the checkout action

* re-add the fetch-depth parameter
2023-05-29 20:17:06 -04:00
Nogweii
0a1bec042b Another bugfix attempt for build_container_images.yml (#33)
I think ${{ runner }} isn't valid until you're within a `job`, so avoid using it in the env section.
2023-05-29 20:06:25 -04:00
Nogweii
b16bab9098 Fix a few bugs in the new workflow
1. Typo in the preview repo name.
2. Combined the dry-run fail message into the test step
3. Converted the release metadata step to use jq
4. Removed redundant information from the container labels
2023-05-29 16:56:54 -07:00
Nogweii
363d654403 refactor the test into two steps 2023-05-29 16:12:40 -07:00
Nogweii
40f0caaf0d reenable the container testing step
thank you Docker docs: https://docs.docker.com/build/ci/github-actions/test-before-push/
2023-05-29 15:43:06 -07:00
Nogweii
50cca8efe6 and run it once a week 2023-05-20 19:04:18 -07:00
Nogweii
fd5e934cdf restore save_pull_count 2023-05-20 19:03:18 -07:00
Nogweii
77f891d439 overhaul the workflows 2023-05-20 18:11:04 -07:00
Mosei
67ad884a49 Update build_test_images.yml 2022-12-10 00:40:56 +05:30
Mitchell Syer
1e9cccceda Add stable tags 2022-11-17 16:47:13 +00:00
Mosei
f566e6d4a9 fix set output 2022-11-17 11:49:55 +05:30
Mosei
282d616a5b fix set output 2022-11-17 11:46:04 +05:30
Mitchell Syer
10f334800c Minor workflow fix 2022-10-08 12:29:09 -04:00
Mitchell Syer
5ede9c0296 Revert some Alpine changes 2022-10-07 18:42:43 -04:00
Mitchell Syer
98b7f68e24 See if Arm v6 works 2022-10-07 16:11:42 -04:00
Mitchell Syer
15d0c35651 Test Alpine in PR 2022-10-07 15:43:53 -04:00
Mitchell Syer
7b2161cd05 Try Jammy 2022-10-07 15:09:33 -04:00
Mitchell Syer
7cfc929852 Remove Arm v6 2022-10-07 15:05:20 -04:00
Mitchell Syer
c0732a4139 Use Ubuntu focal 2022-10-07 15:01:05 -04:00
Mitchell Syer
4c5ec5db3a New base image 2022-10-07 14:43:03 -04:00
Mosei
67eb61fd0d Update build_test_images.yml 2022-08-12 12:39:50 +05:30
Mosei
fe812f1d1b Update build_test_images.yml 2022-08-12 12:34:28 +05:30
Mosei
c487379b67 Update build_container_images.yml 2022-08-12 12:32:27 +05:30
Mosei
597aca40e4 Update build_test_images.yml 2022-08-12 12:21:43 +05:30
Mosei
1ca1324d3f Create build_test_images.yml 2022-08-12 12:19:59 +05:30
Mosei
3f8e0d7b6a linux/s390x issue resolved
linux/s390x dropped from alpine 3.16 openjdk11-jre-headless
2022-08-11 13:25:31 +05:30
Mosei
58e6674209 Update build_container_images.yml
update to apline 3.16
2022-06-22 03:06:12 +05:30
Mitchell Syer
c4ec61dbbf Add testing 2022-06-21 16:10:44 -04:00
Mitchell Syer
1a7557c749 Fix 2022-06-21 15:50:40 -04:00
Mitchell Syer
bcee5bd974 java11 test 2022-06-21 15:42:13 -04:00
Mosei
4594ac8c5b Update build_container_images.yml 2022-05-23 12:01:46 +05:30
Mosei
18dd3a64ad Merge pull request #14 from Suwayomi/dependabot/github_actions/docker/build-push-action-3
Bump docker/build-push-action from 2 to 3
2022-05-23 11:57:28 +05:30
Mosei
4c89b67e81 Merge pull request #13 from Suwayomi/dependabot/github_actions/docker/setup-buildx-action-2
Bump docker/setup-buildx-action from 1 to 2
2022-05-23 11:57:11 +05:30
Mosei
8e9c5654ea Merge pull request #12 from Suwayomi/dependabot/github_actions/docker/login-action-2
Bump docker/login-action from 1 to 2
2022-05-23 11:57:02 +05:30
dependabot[bot]
0a937534e4 Bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
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>
2022-05-06 12:12:06 +00:00