Skip to content

Commit 1d92a5d

Browse files
committed
test
1 parent 0b60247 commit 1d92a5d

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

.github/workflows/release.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release PKE
22
on:
33
push:
44
tags:
5-
- "[0-9]+.[0-9]+.[0-9]+"
5+
- "*"
66

77
jobs:
88
release:
@@ -29,29 +29,29 @@ jobs:
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131

32-
trigger-image-build:
33-
runs-on: ubuntu-latest
34-
needs: release
35-
36-
steps:
37-
- name: Check out code
38-
uses: actions/checkout@v2
39-
40-
- name: Set ref
41-
id: set-ref
42-
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
43-
44-
- name: Trigger pke-image build
45-
uses: actions/github-script@v6
46-
with:
47-
github-token: ${{ secrets.GITHUB_TOKEN }}
48-
script: |
49-
await github.rest.actions.createWorkflowDispatch({
50-
owner: 'banzaicloud',
51-
repo: 'pke-image',
52-
workflow_id: 'packer-build.yml',
53-
ref: 'master',
54-
inputs: {
55-
tag: '${{ steps.set-ref.outputs.tag }}'
56-
}
57-
})
32+
# trigger-image-build:
33+
# runs-on: ubuntu-latest
34+
# needs: release
35+
36+
# steps:
37+
# - name: Check out code
38+
# uses: actions/checkout@v2
39+
40+
# - name: Set ref
41+
# id: set-ref
42+
# run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
43+
44+
# - name: Trigger pke-image build
45+
# uses: actions/github-script@v6
46+
# with:
47+
# github-token: ${{ secrets.GITHUB_TOKEN }}
48+
# script: |
49+
# await github.rest.actions.createWorkflowDispatch({
50+
# owner: 'banzaicloud',
51+
# repo: 'pke-image',
52+
# workflow_id: 'packer-build.yml',
53+
# ref: 'master',
54+
# inputs: {
55+
# tag: '${{ steps.set-ref.outputs.tag }}'
56+
# }
57+
# })

0 commit comments

Comments
 (0)