Skip to content

chore: 更新Docker编译配置 #18

chore: 更新Docker编译配置

chore: 更新Docker编译配置 #18

Workflow file for this run

name: TDP Blackbox Docker Push
on:
push:
paths:
- 'docker/client/**'
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: ./docker/client
platforms: linux/386,linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
push: true
tags: |
rehiy/blackbox:latest