File tree Expand file tree Collapse file tree 1 file changed +1
-28
lines changed Expand file tree Collapse file tree 1 file changed +1
-28
lines changed Original file line number Diff line number Diff line change 7
7
env :
8
8
IMAGE_NAME : " splunk/attack_range"
9
9
10
- jobs :
11
- publish-github-release :
12
- runs-on : ubuntu-latest
13
- if : startsWith(github.ref, 'refs/tags/v')
14
- steps :
15
- - name : Checkout repo
16
- uses : actions/checkout@v4
17
- with :
18
- ref : ' develop'
19
-
20
- - name : Set tag
21
- id : vars
22
- run : echo ::set-output name=tag::${GITHUB_REF#refs/*/}
23
-
24
- - name : Prepare Release for Publishing on github
25
- run : |
26
- cd ..
27
- tar -zcvf attack-range-${{ steps.vars.outputs.tag }}.tar.gz attack_range
28
- sha256sum attack-range-${{ steps.vars.outputs.tag }}.tar.gz > checksum-${{ steps.vars.outputs.tag }}.txt
29
-
30
- - name : Upload Release Artifacts
31
- uses : softprops/action-gh-release@v2
32
- with :
33
- files : |
34
- ../attack-range-${{ steps.vars.outputs.tag }}.tar.gz
35
- ../checksum-%{{ steps.vars.outputs.tag }}.txt
36
- token : ${{ secrets.CUSTOM_GITHUB_TOKEN }}
37
-
10
+ jobs :
38
11
build-and-publish-docker-image :
39
12
runs-on : ubuntu-latest
40
13
if : startsWith(github.ref, 'refs/tags/v')
You can’t perform that action at this time.
0 commit comments