From d0e2734795a99589bb9bef2cd7ed11edc1b2a277 Mon Sep 17 00:00:00 2001 From: kx1t Date: Fri, 28 Apr 2023 11:59:39 -0400 Subject: [PATCH] add _nohealthcheck tag --- .github/workflows/deploy.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 }}