Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
Try passing env variables by secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinderVosDeWael committed Jun 7, 2024
1 parent f4a6984 commit 0776702
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: fake_key
AZURE_DOCUMENT_INTELLIGENCE_KEY: fake_key
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT: fake_endpoint
AZURE_OPENAI_API_KEY: fake_key
AZURE_OPENAI_ENDPOINT: fake_endpoint

steps:
- name: Check out the repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -48,3 +43,5 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
secret-envs: "AZURE_DOCUMENT_INTELLIGENCE_KEY=fake_key,AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT=fake_endpoint,AZURE_OPENAI_API_KEY=fake_key,AZURE_OPENAI_ENDPOINT=fake_endpoint"

0 comments on commit 0776702

Please sign in to comment.