Comments (8)
You may check your docker hub repo to see what tags there are
https://hub.docker.com/r/yunyoujun/cook/tags
from cook.
Yeah, i plan to remove enable={{is_default_branch}}
.
Because ci will only be triggered by the main branch.
cook/.github/workflows/docker-image.yml
Lines 4 to 7 in 5015653
Could there be other issues?
from cook.
Yeah, i plan to remove
enable={{is_default_branch}}
.Because ci will only be triggered by the main branch.
cook/.github/workflows/docker-image.yml
Lines 4 to 7 in 5015653
Could there be other issues?
But the latest
tag of docker is very important, because the default tag of docker image is latest
Say you run docker pull nginx
, what actually it is doing is docker pull nginx:latest
So what do you want to do with the latest
tag? Normally this is the latest release or the master/main branch.
And yes, currently this is only triggered by the main branch push/pr, it's all up to you to decide what kind of docker image you want to provide, if you want to provide the dev branch as well, just modify these lines of the config file.
I would recommend the latest tag to be associated with the main branch, and the dev is associated with dev branch. For normal users, just pull the latest tag, and for developer or people who want to try out the latest features, pull the dev tag. This is kind of like the stable release and the nightly release.
from cook.
I don't think this contradicts what you said, I just want to remove enable={{is_default_branch}}
, because the default enable
is true, so it is still bound to the main branch, and main is also the representative of latest
.
Was there any misunderstanding during this period?
from cook.
I don't think this contradicts what you said, I just want to remove
enable={{is_default_branch}}
, because the defaultenable
is true, so it is still bound to the main branch, and main is also the representative oflatest
.Was there any misunderstanding during this period?
Oh, so what you want is only update docker image when the main branch is updated. And this means there's only one kind of docker image, the latest/main version, no nightly/dev version, right?
from cook.
Yeah, I created a new dev
branch for development and merged into the main
branch after stabilization, to avoid too many unnecessary docker builds.
from cook.
Okay, then this will be fine. Thank you for your kind reply, it's very nice of you.
from cook.
Thanks for your feedback. I set it in d2534f7.
from cook.
Related Issues (20)
- pnpm dev报错呢? HOT 1
- 基于 React 实现的站点
- 真的能运行? HOT 1
- Nginx反向代理后出现问题 HOT 1
- 后期会考虑加入咖啡、饮料和甜点吗? HOT 1
- 有考虑增加随机推荐功能吗?另外我可否借鉴一下创意将其做成小程序 HOT 2
- 加点鱼类食谱啊,哈哈~
- 黄瓜炒鸡蛋视频已下架 HOT 1
- Unexpected reserved word HOT 1
- 请问可以增加搜索模式吗 HOT 5
- button in ChooseFood.vue style error
- 隔离食用手册大全的链接挂掉了 HOT 3
- 肉类里能不能添加一下兔子 HOT 2
- 请问数据更新的方法? HOT 1
- 是否可以在底部加入个人网站备案号 HOT 5
- 大佬 可以添加一个苦瓜吗 ~~~~~~~~~~~~~
- 现在疫情封控已经过去了,能不能推出新功能? HOT 4
- 【二次开发申请】将本项目功能复刻至Android项目子功能 HOT 1
- 大佬,能不能自定义数据存储在本地 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cook.