Skip to content

Commit

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

deploy:
Expand Down Expand Up @@ -64,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:$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
fcli function update -f img-opti -s kemono-staging -g registry.ap-southeast-1.aliyuncs.com/kemono/image-optimizer:$GITHUB_REF_NAME-$SHA
fcli function update -f img-opti-clean -s kemono-staging -g registry.ap-southeast-1.aliyuncs.com/kemono/image-optimizer:$GITHUB_REF_NAME-$SHA
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
Expand Down

0 comments on commit 704b2e9

Please sign in to comment.