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 1e41fac commit 312176cCopy full SHA for 312176c
.github/workflows/docker-image.yml
@@ -1,8 +1,11 @@
1
name: Docker Image CI
2
3
on:
4
+ workflow_dispatch:
5
push:
6
branches: [ "main" ]
7
+ tags:
8
+ - 'v*'
9
pull_request:
10
11
@@ -16,6 +19,12 @@ jobs:
16
19
-
17
20
name: Set up Docker Buildx
18
21
uses: docker/setup-buildx-action@v3
22
+ -
23
+ name: Docker meta
24
+ id: meta
25
+ uses: docker/metadata-action@v5
26
+ with:
27
+ images: ${{ secrets.DOCKERHUB_USERNAME }}/openai-proxy-docker
28
29
name: Login to DockerHub
30
uses: docker/login-action@v3
@@ -28,4 +37,5 @@ jobs:
37
uses: docker/build-push-action@v5
38
with:
39
push: true
31
- tags: ${{ secrets.DOCKERHUB_USERNAME }}/openai-proxy-docker:latest
40
+ tags: ${{ steps.meta.outputs.tags }}
41
+ labels: ${{ steps.meta.outputs.labels }}
0 commit comments