mirror of
https://github.com/pinry/pinry.git
synced 2026-02-25 15:51:09 +01:00
feature: try to add docker-buildx with buildx setup
This commit is contained in:
11
.github/workflows/build-docker.yml
vendored
11
.github/workflows/build-docker.yml
vendored
@@ -14,12 +14,11 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: install buildx
|
||||
id: buildx
|
||||
uses: crazy-max/ghaction-docker-buildx@v1
|
||||
with:
|
||||
version: latest
|
||||
- name: login to docker hub
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Login to DockerHub
|
||||
run: echo "${{ secrets.PINRY_DOCKER_PASSWORD }}" | docker login -u "${{ secrets.PINRY_DOCKER_USERNAME }}" --password-stdin
|
||||
- name: build the image
|
||||
run: bash docker/build_docker_multiple_platform.sh
|
||||
|
||||
Reference in New Issue
Block a user