Skip to content

Commit 15d1fbe

Browse files
[CI] Deploy CI
1 parent ba36a9f commit 15d1fbe

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/dispatch_release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
- name: check version format
3636
run: |
37-
if [[ !(${{ env.VERSION }} =~ ^v[0-9]\.[0-9]?[0-9]\.[0-9]?[0-9]$) ]];
37+
if [[ !(${{ env.VERSION }} =~ ^[0-9]\.[0-9]?[0-9]\.[0-9]?[0-9]$) ]];
3838
then
3939
echo "You entered an incorrect version format."
4040
exit 1
@@ -110,7 +110,7 @@ jobs:
110110
- name: get service name
111111
run: |
112112
echo "SERVICE=$(echo ${{ github.repository }} | cut -d '/' -f2)" >> $GITHUB_ENV
113-
113+
114114
- name: Set up QEMU
115115
uses: docker/setup-qemu-action@v2
116116

@@ -122,23 +122,23 @@ jobs:
122122
with:
123123
username: ${{ secrets.DOCKER_USERNAME }}
124124
password: ${{ secrets.DOCKER_PASSWORD }}
125-
125+
126126
- name: Build and push to pyengine
127127
uses: docker/build-push-action@v4
128128
with:
129129
context: .
130130
platform: ${{ env.ARCH }}
131-
push: true
131+
push: true
132132
tags: pyengine/${{ env.SERVICE }}:${{ env.VERSION }}
133-
133+
134134
- name: Build and push to spaceone
135135
uses: docker/build-push-action@v4
136136
with:
137137
context: .
138138
platform: ${{ env.ARCH }}
139-
push: true
139+
push: true
140140
tags: spaceone/${{ env.SERVICE }}:${{ env.VERSION }}
141-
141+
142142
- name: Notice when job fails
143143
if: failure()
144144
uses: 8398a7/action-slack@v3.2.0

0 commit comments

Comments
 (0)