Commit Graph

21 Commits

Author SHA1 Message Date
dependabot[bot] 4b3cb4a130
chore(deps): bump docker/build-push-action from 2 to 3 (#9705)
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:55:50 +08:00
dependabot[bot] 0659260576
chore(deps): bump docker/metadata-action from 3 to 4 (#9707)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 4.
- [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/v3...v4)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 05:52:30 +08:00
dependabot[bot] e88114958e
chore(deps): bump docker/setup-buildx-action from 1 to 2 (#9706)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
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>
2022-05-06 05:48:02 +08:00
Rongrong ff3fcdd97e
chore(CI): remove setup-QEMU from docker-test (#9690)
useless step

Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 17:35:08 +10:00
TonyRL e0a809fbc2 chore: set test image artifact to 1 day
1 build ~247MB, Pro account has 2GB
2022-05-03 18:01:38 +00:00
Rongrong 7b6589cafa
chore(*): migrate to GHA-based PR route test (#9683)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-03 19:24:27 +08:00
neilnaveen ba496a625c
chore: Set permissions for GitHub actions (#9644)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-04-28 21:01:45 +08:00
Rongrong d8c00ec238
build(docker): optimize; add Chromium bundled ver (#9626)
* build(docker): optimize; add Chromium bundled ver

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix redundant command and label

Signed-off-by: Rongrong <i@rong.moe>

* build(docker): only install prod deps to speed up

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): minor fixes

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): bump to `node:16-bullseye-slim`

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix yarn registry mirror

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): minimize dependencies

for Chromium-bundled version

Signed-off-by: Rongrong <i@rong.moe>
2022-04-28 20:40:21 +08:00
dependabot[bot] 1fbda8fc72
chore(deps): bump actions/checkout from 2 to 3 (#9230)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

---
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>

[skip ci]
2022-03-01 12:04:46 -10:00
Tony 0210d468f4
style(eslint): no empty line before comments for yml (#9203) 2022-02-26 09:06:31 +08:00
Tony 862ec5df44
chore: name actions (#9152)
[skip ci]
2022-02-19 19:39:52 +08:00
Tony 5326d9f751
chore(misc): multiple enhancement to github actions (#9000)
* chore: test workflow use redis

* chore: docker build cache sharing

* chore: eslint format yml files

* chore: nodemon restart on art template files changes

* chore: run test on multi node and os

* chore: unnecessary single version matrix build

* chore: fix container operations

Container operations are only supported on Linux runners

* chore: fix gha syntax

* chore: fix node version not show up

* revert: "chore: test workflow use redis"

This reverts commit df818fd697b4c9151ac635cdb5918e03a4b37062.

* revert: "chore: fix container operations"

This reverts commit c949368aa7048b9d0f3f1942501c695f10f07f06.

* revert: "chore: run test on multi node and os"

This reverts commit 6b1cfde579095e73d0314346fb1a2d12d0de00ac.

* chore: run test on multi node version
2022-02-06 01:36:14 +08:00
Tony 3adbc8adcd
chore: docker build cache (#8967) 2022-01-31 23:53:58 +08:00
Tony 74db039ae2
chore(misc): add eslint-plugin-yml, npm cache (#8599) 2021-11-27 23:42:37 +00:00
NeverBehave 47176b6724
chore(test): test running docker after build (#8010)
* chore(test): test running docker after build

* add test in the same step

* add count times

* workflow typo

* add name when output

* if then

* test docker

* use id

* no tag

* what is docker id

* load single platform

* do not test multi-arch for now

* no load
2021-08-13 21:22:32 -07:00
fengkx c412846dc0
chore(core): Docker build 缩小 image size 更新github action (#7197) 2021-08-11 23:01:35 -07:00
Ray Lin 56f4b1ce51
fix(workflow): use single quote in expression. (#7014) 2021-02-24 16:51:42 -05:00
Henry bdc011861d
chore: limit workflow triggers 2020-12-26 12:06:42 +00:00
DIYgod 4b87ce6247
chore: remove GPR publish, publish path 2020-07-10 13:34:23 +08:00
Henry Wang 26ab46162c
chore: update buildx version input (#4695) 2020-05-08 14:25:42 +08:00
Henry Wang 4253dd11e0 feat: use buildx for multi-arch docker image build (#3603) 2019-12-20 18:18:39 +08:00