File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 75
75
- name : Get cleaned branch name
76
76
id : clean_name
77
77
run : |
78
- # if main then say nightly otherwise cleanup name
79
- if [ "${{ github.ref }}" = "refs/heads/main" ]; then
80
- echo "branch=nightly" >> "$GITHUB_OUTPUT"
81
- exit 0
82
- fi
83
78
REF_NAME=$(echo "${{ github.ref }}" | sed -e 's/refs\/heads\///' -e 's/refs\/tags\///' -e 's/release\/v//')
84
79
echo "branch=${REF_NAME}-nightly" >> "$GITHUB_OUTPUT"
85
80
- name : Login to Docker Hub
@@ -122,11 +117,6 @@ jobs:
122
117
- name : Get cleaned branch name
123
118
id : clean_name
124
119
run : |
125
- # if main then say nightly otherwise cleanup name
126
- if [ "${{ github.ref }}" = "refs/heads/main" ]; then
127
- echo "branch=nightly" >> "$GITHUB_OUTPUT"
128
- exit 0
129
- fi
130
120
REF_NAME=$(echo "${{ github.ref }}" | sed -e 's/refs\/heads\///' -e 's/refs\/tags\///' -e 's/release\/v//')
131
121
echo "branch=${REF_NAME}-nightly" >> "$GITHUB_OUTPUT"
132
122
- name : Login to Docker Hub
You can’t perform that action at this time.
0 commit comments