Skip to content

Commit

Permalink
Update build-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yybht155 authored Aug 6, 2024
1 parent 1dab0ad commit 3b5cb63
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ jobs:
if: github.event.pull_request.draft == false
strategy:
matrix:
- service_name: "web"
image_name_env: "DIFY_WEB_IMAGE_NAME"
context: "web"
- service_name: "api"
image_name_env: "DIFY_API_IMAGE_NAME"
context: "api"
include:
- service_name: "web"
image_name_env: "DIFY_WEB_IMAGE_NAME"
context: "web"
- service_name: "api"
image_name_env: "DIFY_API_IMAGE_NAME"
context: "api"
steps:
- name: Login to CI
uses: docker/login-action@v2
Expand Down Expand Up @@ -54,10 +55,10 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

release:
runs-on: ubuntu-latest
needs: build-and-push
steps:
- name: Release Images
run: |
curl -H "Authorization: Bearer ${{ secrets.UPDATE_DIFY_JP_TOKEN }}" ${{ secrets.UPDATE_DIFY_JP }}
release:
runs-on: ubuntu-latest
needs: build-and-push
steps:
- name: Release Images
run: |
curl -H "Authorization: Bearer ${{ secrets.UPDATE_DIFY_JP_TOKEN }}" ${{ secrets.UPDATE_DIFY_JP }}

0 comments on commit 3b5cb63

Please sign in to comment.