Skip to content

Commit

Permalink
[CI] Deploy CI
Browse files Browse the repository at this point in the history
  • Loading branch information
admin-cloudforet committed Oct 18, 2023
1 parent 14c7c87 commit 7fd43d6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dispatch_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
steps:
- name: check version format
run: |
if [[ !(${{ env.VERSION }} =~ ^v[0-9]\.[0-9]?[0-9]\.[0-9]?[0-9]$) ]];
if [[ !(${{ env.VERSION }} =~ ^[0-9]\.[0-9]?[0-9]\.[0-9]?[0-9]$) ]];
then
echo "You entered an incorrect version format."
exit 1
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
- name: get service name
run: |
echo "SERVICE=$(echo ${{ github.repository }} | cut -d '/' -f2)" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand All @@ -122,23 +122,23 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push to pyengine
uses: docker/build-push-action@v4
with:
context: .
platform: ${{ env.ARCH }}
push: true
push: true
tags: pyengine/${{ env.SERVICE }}:${{ env.VERSION }}

- name: Build and push to spaceone
uses: docker/build-push-action@v4
with:
context: .
platform: ${{ env.ARCH }}
push: true
push: true
tags: spaceone/${{ env.SERVICE }}:${{ env.VERSION }}

- name: Notice when job fails
if: failure()
uses: 8398a7/action-slack@v3.2.0
Expand Down

0 comments on commit 7fd43d6

Please sign in to comment.