diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4671364..8af9763 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -126,3 +126,20 @@ jobs: push: true tags: ghcr.io/${{ env.GHCR_IMAGE }}:telegraf labels: ${{ steps.meta.outputs.labels }} + + # Change Dockerfile to use telegraf_nohealthcheck tag of build image and disable healthcheck: + - name: change build image to use telegraf tag of docker-docker-tar1090 + run: | + sed -i "s|FROM ghcr.io/sdr-enthusiasts/docker-tar1090:telegraf|FROM ghcr.io/sdr-enthusiasts/docker-tar1090:telegraf_nohealthcheck|g" ./Dockerfile + + # Build "telegraf" + - name: Build & Push - telegraf + uses: docker/build-push-action@v3 + with: + context: . + file: ./Dockerfile + no-cache: true + platforms: linux/amd64,linux/arm/v7,linux/arm64 + push: true + tags: ghcr.io/${{ env.GHCR_IMAGE }}:telegraf_nohealthcheck + labels: ${{ steps.meta.outputs.labels }}