Setup QEMU in the docker workflow.
This commit is contained in:
parent
3a741ec512
commit
5a7abc0ed6
1 changed files with 7 additions and 4 deletions
|
|
@ -23,15 +23,18 @@ jobs:
|
||||||
echo "::set-output name=image_tag::${RELEASE_VERSION}"
|
echo "::set-output name=image_tag::${RELEASE_VERSION}"
|
||||||
echo "Action image_tag=${RELEASE_VERSION}"
|
echo "Action image_tag=${RELEASE_VERSION}"
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
||||||
|
- name: Install buildx
|
||||||
|
uses: docker/setup-buildx-action@v1.6.0
|
||||||
|
|
||||||
- name: Login to docker hub
|
- name: Login to docker hub
|
||||||
uses: docker/login-action@v1.13.0
|
uses: docker/login-action@v1.13.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||||
|
|
||||||
- name: Install buildx
|
|
||||||
uses: docker/setup-buildx-action@v1.6.0
|
|
||||||
|
|
||||||
- name: Build and push ${{ github.repository }}:${{ steps.git.outputs.image_tag }}
|
- name: Build and push ${{ github.repository }}:${{ steps.git.outputs.image_tag }}
|
||||||
uses: docker/build-push-action@v2.9.0
|
uses: docker/build-push-action@v2.9.0
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue