|
|
|
@ -49,8 +49,8 @@ jobs:
|
|
|
|
|
- name: Build and push Docker image
|
|
|
|
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
|
|
|
|
with:
|
|
|
|
|
context: .
|
|
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
|
context: .
|
|
|
|
|
file: docker/Dockerfile.collector
|
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
|
|
@ -65,6 +65,10 @@ jobs:
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout repository
|
|
|
|
|
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
|
|
|
|
|
# https://github.com/docker/login-action
|
|
|
|
|
- name: Log into registry ${{ env.REGISTRY }}
|
|
|
|
@ -89,6 +93,7 @@ jobs:
|
|
|
|
|
- name: Build and push Docker image
|
|
|
|
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
|
|
|
|
with:
|
|
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
|
context: .
|
|
|
|
|
file: docker/Dockerfile.web
|
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
|
@ -104,6 +109,10 @@ jobs:
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout repository
|
|
|
|
|
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
|
|
|
|
|
# https://github.com/docker/login-action
|
|
|
|
|
- name: Log into registry ${{ env.REGISTRY }}
|
|
|
|
@ -128,6 +137,7 @@ jobs:
|
|
|
|
|
- name: Build and push Docker image
|
|
|
|
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
|
|
|
|
with:
|
|
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
|
context: .
|
|
|
|
|
file: docker/Dockerfile
|
|
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
|
|