fix docker build (#3383)

* fix dockerhub

* fix

Co-authored-by: neil <win10@neilpang.com>
This commit is contained in:
neil 2021-01-26 22:10:53 +08:00 committed by GitHub
parent 2ba10fcbc7
commit 77e8008752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,12 +33,10 @@ jobs:
steps: steps:
- name: checkout code - name: checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: install buildx - name: Set up QEMU
id: buildx uses: docker/setup-qemu-action@v1
uses: crazy-max/ghaction-docker-buildx@v3 - name: Set up Docker Buildx
with: uses: docker/setup-buildx-action@v1
buildx-version: latest
qemu-version: latest
- name: login to docker hub - name: login to docker hub
run: | run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin