We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b488c76 commit 962075eCopy full SHA for 962075e
.github/workflows/docker-publish.yml
@@ -0,0 +1,24 @@
1
+name: Build and Push Docker Image
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build-and-push:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v2
14
+ - name: Login to DockerHub
15
+ uses: docker/login-action@v1
16
+ with:
17
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
18
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
19
+ - name: Build and push Docker image
20
+ uses: docker/build-push-action@v2
21
22
+ context: .
23
+ push: true
24
+ tags: ${{ secrets.DOCKERHUB_USERNAME }}/azure-openai-proxy:latest
0 commit comments