feat: 注册时打印节点信息 #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TDP Blackbox Docker Push | |
on: | |
push: | |
paths: | |
- 'client/docker/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Setup qemu | |
uses: docker/setup-qemu-action@v2 | |
- name: Setup docker buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Docker build and push | |
uses: docker/build-push-action@v4 | |
with: | |
context: ./client/docker | |
platforms: linux/386,linux/amd64,linux/arm64,linux/ppc64le,linux/s390x | |
push: true | |
tags: | | |
rehiy/blackbox:latest |