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 65845eb commit 133093b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:
release:
types: [published]

# env:
# DIFY_WEB_IMAGE_NAME: ${{ vars.DIFY_WEB_IMAGE_NAME }}
# DIFY_API_IMAGE_NAME: ${{ vars.DIFY_API_IMAGE_NAME }}
env:
DIFY_WEB_IMAGE_NAME: ${{ secrets.DIFY_WEB_IMAGE_NAME }}
DIFY_API_IMAGE_NAME: ${{ secrets.DIFY_API_IMAGE_NAME }}

jobs:
build-and-push:
Expand All @@ -19,10 +19,10 @@ jobs:
matrix:
include:
- service_name: "web"
image_name_env: ${{ secrets.DIFY_WEB_IMAGE_NAME }}
image_name_env: "${{ env.DIFY_WEB_IMAGE_NAME }}"
context: "web"
- service_name: "api"
image_name_env: ${{ secrets.DIFY_API_IMAGE_NAME }}
image_name_env: ${{ env.DIFY_API_IMAGE_NAME }}
context: "api"
steps:
- name: Login to CI
Expand Down

0 comments on commit 133093b

Please sign in to comment.