Skip to content

Commit

Permalink
Hotfix: manually run workflow (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah-widder authored Feb 2, 2024
1 parent ac3c62d commit 59c505a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Docker Image CI

on:
workflow_dispatch:
inputs:
branch:
description: 'The branch to build'
required: true


push:
branches:
- main
Expand All @@ -23,6 +30,8 @@ jobs:
login-server: ${{ secrets.ACR_LOGIN_SERVER }}

- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch }}
- name: Build the Docker image
run:
docker build . --file WebApp.Dockerfile --tag fruoccopublic.azurecr.io/sample-app-aoai-chatgpt:$(date +'%Y-%m-%d')_$GITHUB_RUN_NUMBER;
Expand Down

0 comments on commit 59c505a

Please sign in to comment.