Rfym21 commited on
Commit
f5dea73
·
verified ·
1 Parent(s): 28b4233

Delete .github/workflows/build_docker.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/build_docker.yml +0 -50
.github/workflows/build_docker.yml DELETED
@@ -1,50 +0,0 @@
1
- name: Build Docker Image
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- paths-ignore:
8
- - 'README.md'
9
- - 'docker-compose.yml'
10
- - 'docs/**'
11
- - '.github/workflows/build_docker.yml'
12
- workflow_dispatch:
13
-
14
- jobs:
15
- main:
16
- runs-on: ubuntu-latest
17
- steps:
18
- - name: Checkout
19
- uses: actions/checkout@v2
20
-
21
- - name: Set up QEMU
22
- uses: docker/setup-qemu-action@v3
23
-
24
- - name: Set up Docker Buildx
25
- uses: docker/setup-buildx-action@v3
26
-
27
- - name: Log in to Docker Hub
28
- uses: docker/login-action@v3
29
- with:
30
- username: ${{ secrets.DOCKER_USERNAME }}
31
- password: ${{ secrets.DOCKER_PASSWORD }}
32
-
33
- - name: Docker meta
34
- id: meta
35
- uses: docker/metadata-action@v5
36
- with:
37
- images: lanqian528/chat2api
38
- tags: |
39
- type=raw,value=latest,enable={{is_default_branch}}
40
- type=raw,value=v1.4.16
41
-
42
- - name: Build and push
43
- uses: docker/build-push-action@v5
44
- with:
45
- context: .
46
- platforms: linux/amd64,linux/arm64
47
- file: Dockerfile
48
- push: true
49
- tags: ${{ steps.meta.outputs.tags }}
50
- labels: ${{ steps.meta.outputs.labels }}