Skip to content

Add or update the Azure App Service build and deployment workflow config #12

Add or update the Azure App Service build and deployment workflow config

Add or update the Azure App Service build and deployment workflow config #12

Workflow file for this run

name: Build Docker Image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build Docker image
run: |
docker build -t your_image_name \
--build-arg OPENAI_API_KEY="${{ secrets.OPENAI_API_KEY }}" .