Skip to content

Commit

Permalink
[ci] change build release condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mh739025250 committed Aug 20, 2021
1 parent 0f7da91 commit 3f98d9f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker-build-release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: build docker image release
on:
push:
branches:
- main
release:
types: [created]

jobs:
build:
if: github.ref == 'ref/tags/v*'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 3f98d9f

Please sign in to comment.