Skip to content

Commit

Permalink
✨ feat: 添加新功能
Browse files Browse the repository at this point in the history
  • Loading branch information
v_wieszheng(郑市委) committed Aug 28, 2024
1 parent 861886c commit f075e0c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.HUB_GITHUB_TOKEN }}

- name: Build the Docker image
run: docker build . --file Dockerfile --tag bread:${{ github.run_id }}
run:
| # 使用 上一步写的 Dockerfile 构建镜像并发布到私有仓库; 发布完成可以去 https://github.com/MrGaoGang?tab=packages 查看
docker build . --file Dockerfile --tag ghcr.io/wieszheng/bread-image:latest
docker push ghcr.io/wieszheng/bread-image:latest

0 comments on commit f075e0c

Please sign in to comment.