Skip to content

Commit

Permalink
build mns branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ITJesse committed Nov 16, 2023
1 parent 2abd916 commit 7d84738
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- dev
- mns
jobs:
build:
environment: staging
Expand Down Expand Up @@ -31,7 +32,7 @@ jobs:
with:
push: true
context: .
tags: registry.ap-southeast-1.aliyuncs.com/kemono/image-optimizer:dev-${{ env.SHA }}
tags: registry.ap-southeast-1.aliyuncs.com/kemono/image-optimizer:${{ github.head_ref }}-${{ env.SHA }}
file: Dockerfile

deploy:
Expand Down Expand Up @@ -63,8 +64,8 @@ jobs:
ALIBABA_CLOUD_ACCOUNT_ID: ${{ secrets.ALIYUN_ACCOUNT_ID }}
SHA: ${{ env.SHA }}
run: |
fcli function update -f img-opti -s kemono-staging -g registry.ap-southeast-1.aliyuncs.com/kemono/image-optimizer:dev-$SHA
fcli function update -f img-opti-clean -s kemono-staging -g registry.ap-southeast-1.aliyuncs.com/kemono/image-optimizer:dev-$SHA
fcli function update -f img-opti -s kemono-staging -g registry.ap-southeast-1.aliyuncs.com/kemono/image-optimizer:$GITHUB_HEAD_REF-$SHA
fcli function update -f img-opti-clean -s kemono-staging -g registry.ap-southeast-1.aliyuncs.com/kemono/image-optimizer:$GITHUB_HEAD_REF-$SHA
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
Expand Down

0 comments on commit 7d84738

Please sign in to comment.