feature: try to add docker-buildx with buildx setup

This commit is contained in:
winkidney
2022-04-23 07:09:00 -07:00
parent d55725aecb
commit c1bf67bcf0

View File

@@ -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