Commit Graph

5 Commits

Author SHA1 Message Date
YunYouJun
d2534f748f ci: add latest for main 2022-05-01 18:33:57 +08:00
Henry
50156534c2 feat: create docker file and docker build CI (#24)
* Create Dockerfile

* Create docker-image.yml

* Fix https://github.com/YunYouJun/cook/issues/12

* Format docker-image.yml

* Update docker-image.yml with two steps

* Format fix in docker-image.yml

https://github.com/henryclw/cook/runs/6186682354

* Format fix in Dockerfile

* Use official CI/CD of GitHub docker action

https://docs.docker.com/language/nodejs/configure-ci-cd/

* Fix typo in docker-image.yml

* Add last line in docker-image.yml

* Update docker-image.yml, use docker/login-action@v1

* Revert "Update docker-image.yml, use docker/login-action@v1"

This reverts commit f15e007225.

* Let docker image tag be the same as the branch name

https://stackoverflow.com/questions/58033366/how-to-get-the-current-branch-within-github-actions

* Let docker image tag be the same as the branch name, use branch name ${GITHUB_REF#refs/heads/}

* Use docker/metadata-action in docker-image.yml

https://github.com/docker/metadata-action

* Fix image name in docker/metadata-action in docker-image.yml

* Use master branch of docker/metadata-action in docker-image.yml

* Update docker in README.md, pull or build locally

* Use the latest tag if it is the default branch

* Remove empty lines in docker-image.yml

* Update name in docker-image.yml

* Update docker instructions in README.md

Resolved:
- https://github.com/YunYouJun/cook/pull/24#discussion_r860803527
- https://github.com/YunYouJun/cook/pull/24#discussion_r860807487
- https://github.com/YunYouJun/cook/pull/24#discussion_r860807702

* chore: update docs description

* Update README.md

Co-authored-by: 云游君 <me@yunyoujun.cn>
2022-04-30 01:38:25 +08:00
YunYouJun
24b1685f35 chore: fix lint 2022-04-14 20:01:58 +08:00
YunYouJun
1fb7d8db94 feat: basic interactive & tags 2022-04-14 19:59:02 +08:00
YunYouJun
c355d51874 init: basic structure 2022-04-13 22:41:22 +08:00