:octocat: Build Docker image

This commit is contained in:
Liang Ding 2022-06-17 15:55:12 +08:00
parent 1cca66f9bb
commit 3cd34c10c3
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -28,9 +28,9 @@ jobs:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_PWD }}
- name: Build the Docker image
run: |
docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7 -t ${{ secrets.DOCKERHUB_USERNAME }}/siyuan:latest -t ${{ secrets.DOCKERHUB_USERNAME }}/siyuan:v2.0.20 .
docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7 -t b3log/siyuan:latest -t b3log/siyuan:v2.0.20 .