|
|
@ -49,8 +49,8 @@ jobs:
|
|
|
|
- name: Build and push Docker image
|
|
|
|
- name: Build and push Docker image
|
|
|
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
|
|
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
|
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
|
|
|
|
context: .
|
|
|
|
file: docker/Dockerfile.collector
|
|
|
|
file: docker/Dockerfile.collector
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
|
@ -65,6 +65,10 @@ jobs:
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
|
|
|
|
uses: docker/setup-qemu-action@v1
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
|
|
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
# Login against a Docker registry except on PR
|
|
|
|
# Login against a Docker registry except on PR
|
|
|
|
# https://github.com/docker/login-action
|
|
|
|
# https://github.com/docker/login-action
|
|
|
|
- name: Log into registry ${{ env.REGISTRY }}
|
|
|
|
- name: Log into registry ${{ env.REGISTRY }}
|
|
|
@ -89,6 +93,7 @@ jobs:
|
|
|
|
- name: Build and push Docker image
|
|
|
|
- name: Build and push Docker image
|
|
|
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
|
|
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
|
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
context: .
|
|
|
|
context: .
|
|
|
|
file: docker/Dockerfile.web
|
|
|
|
file: docker/Dockerfile.web
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
@ -104,6 +109,10 @@ jobs:
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
|
|
|
|
uses: docker/setup-qemu-action@v1
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
|
|
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
# Login against a Docker registry except on PR
|
|
|
|
# Login against a Docker registry except on PR
|
|
|
|
# https://github.com/docker/login-action
|
|
|
|
# https://github.com/docker/login-action
|
|
|
|
- name: Log into registry ${{ env.REGISTRY }}
|
|
|
|
- name: Log into registry ${{ env.REGISTRY }}
|
|
|
@ -128,6 +137,7 @@ jobs:
|
|
|
|
- name: Build and push Docker image
|
|
|
|
- name: Build and push Docker image
|
|
|
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
|
|
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
|
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
context: .
|
|
|
|
context: .
|
|
|
|
file: docker/Dockerfile
|
|
|
|
file: docker/Dockerfile
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
|