|
|
|
@ -45,26 +45,26 @@ jobs: |
|
|
|
qemu: true |
|
|
|
qemu: true |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Checkout |
|
|
|
- name: Checkout |
|
|
|
uses: actions/checkout@v2 |
|
|
|
uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
fetch-depth: 0 |
|
|
|
fetch-depth: 0 |
|
|
|
|
|
|
|
|
|
|
|
- name: Set up QEMU |
|
|
|
- name: Set up QEMU |
|
|
|
uses: docker/setup-qemu-action@v1 |
|
|
|
uses: docker/setup-qemu-action@v2 |
|
|
|
if: ${{ matrix.qemu == true }} |
|
|
|
if: ${{ matrix.qemu == true }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx |
|
|
|
- name: Set up Docker Buildx |
|
|
|
uses: docker/setup-buildx-action@v1 |
|
|
|
uses: docker/setup-buildx-action@v2 |
|
|
|
id: docker-buildx |
|
|
|
id: docker-buildx |
|
|
|
|
|
|
|
|
|
|
|
- name: Login to DockerHub |
|
|
|
- name: Login to DockerHub |
|
|
|
uses: docker/login-action@v1 |
|
|
|
uses: docker/login-action@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
username: ${{ secrets.docker_hub_username }} |
|
|
|
username: ${{ secrets.docker_hub_username }} |
|
|
|
password: ${{ secrets.docker_hub_access_token }} |
|
|
|
password: ${{ secrets.docker_hub_access_token }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push |
|
|
|
- name: Build and push |
|
|
|
uses: docker/build-push-action@v2 |
|
|
|
uses: docker/build-push-action@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
builder: ${{ steps.docker-buildx.outputs.name }} |
|
|
|
builder: ${{ steps.docker-buildx.outputs.name }} |
|
|
|
context: . |
|
|
|
context: . |
|
|
|
@ -78,7 +78,7 @@ jobs: |
|
|
|
if: ${{ matrix.name != 'arm64' }} |
|
|
|
if: ${{ matrix.name != 'arm64' }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push |
|
|
|
- name: Build and push |
|
|
|
uses: docker/build-push-action@v2 |
|
|
|
uses: docker/build-push-action@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
builder: ${{ steps.docker-buildx.outputs.name }} |
|
|
|
builder: ${{ steps.docker-buildx.outputs.name }} |
|
|
|
context: . |
|
|
|
context: . |
|
|
|
|