Skip to content

Commit

Permalink
测试按tag发布
Browse files Browse the repository at this point in the history
  • Loading branch information
gcslaoli committed Apr 9, 2024
1 parent ae33089 commit 0ce1548
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ name: Create and publish a Docker image
# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
push:
branches: ['release']
branches:
- 'master'
tags:
- 'v*'

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
Expand Down

0 comments on commit 0ce1548

Please sign in to comment.