forked from dr34m-cn/taosync
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (25 loc) · 797 Bytes
/
buildPython.yml
File metadata and controls
31 lines (25 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: build-python
on:
push:
branches: [ 'main' ]
paths: [ 'dockerfiles/python.Dockerfile' ]
jobs:
build_docker:
runs-on: ubuntu-latest
steps:
- name: 设置QEMU
uses: docker/setup-qemu-action@v3
- name: 设置Docker BuildX
uses: docker/setup-buildx-action@v3
- name: 登录到DockerHub
uses: docker/login-action@v3
with:
username: dr34m
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: 构建并推送
uses: docker/build-push-action@v6
with:
file: dockerfiles/python.Dockerfile
push: true
tags: dr34m/tao-sync:not-for-use-python
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/arm/v6,linux/s390x,linux/ppc64le