Skip to content

Commit a800f3a

Browse files
committed
Merge branch 'network-pol' of https://github.com/Saranya-jena/litmus into network-pol
2 parents 02d595e + 138a42e commit a800f3a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/push.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: push-pipeline
22
on:
3-
push:
4-
branches:
5-
- master
6-
- ^v[0-9]*.[0-9]*.x$
7-
tags:
8-
- "*"
3+
workflow_dispatch:
4+
inputs:
5+
Tag:
6+
default: "ci"
7+
env:
8+
TAG: "${{github.event.inputs.Tag}}"
99
defaults:
1010
run:
1111
working-directory: chaoscenter
@@ -48,7 +48,7 @@ jobs:
4848
img_tag=${GITHUB_REF#refs/*/}
4949
else
5050
echo "non tag build"
51-
img_tag="ci"
51+
img_tag=${{ env.TAG }}
5252
fi
5353
# This is a condition where image tag looks like "pull/<pullrequest-name>" during pull request build
5454
NEW_IMG_TAG=`echo $img_tag | sed "s/\//-/g"`

0 commit comments

Comments
 (0)