Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持通过github action自动构建docker镜像、自动打包app、自动release #42

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

wkeylin
Copy link
Contributor

@wkeylin wkeylin commented Jul 19, 2024

使用的是nginx镜像,需要将前一个pr合并后,才能使用 #41
解决 #36 #43
使用方法:

  1. 合并pr后,更改package.json的版本号,以及通过git打release标签
# 将package.json中的版本号打tag
git tag -a v1.1.1 -m "my version 1.4"
# 将tag推送到远程
git push origin v1.1.1
  1. 推送后,该github action自动运行
  2. 运行成功后
    最新镜像地址为: ghcr.io/joye61/pic-smaller:latestghcr.io/joye61/pic-smaller:1.1.1
    自动发布release
    windows,mac自动打包上传

Copy link

vercel bot commented Jul 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pic-smaller ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2024 3:30am

@wkeylin wkeylin changed the title 支持通过github action自动构建docker镜像 支持通过github action自动构建docker镜像、自动打包app、自动release Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant