From a0fd9a568d48b850621853895fea699c8e404705 Mon Sep 17 00:00:00 2001 From: Fred Clausen <43556888+fredclausen@users.noreply.github.com> Date: Sat, 26 Aug 2023 14:53:06 -0600 Subject: [PATCH] correctly trigger based on no inptu --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 66f984e..8aea82f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -75,7 +75,7 @@ jobs: ghcr_repo: ${{ github.repository }} get_version_method: file_in_container:file=/CONTAINER_VERSION # set build_latest to true if github.event.inputs.use_test_image is false - build_latest: ${{ github.event.inputs.use_test_image == 'false' }} + build_latest: ${{ github.event.inputs.use_test_image == 'false' || github.event.inputs.use_test_image == '' }} build_baseimage_test: ${{ github.event.inputs.use_test_image == 'true' }} # only build the entire stack if we are not using the test image build_version_specific: false @@ -98,7 +98,7 @@ jobs: ghcr_repo: ${{ github.repository }} get_version_method: file_in_container:file=/CONTAINER_VERSION # set build_latest to true if github.event.inputs.use_test_image is false - build_latest: ${{ github.event.inputs.use_test_image == 'false' }} + build_latest: ${{ github.event.inputs.use_test_image == 'false' || github.event.inputs.use_test_image == '' }} build_baseimage_test: ${{ github.event.inputs.use_test_image == 'true' }} build_baseimage_url: docker-tar1090:latest/docker-tar1090:telegraf-baseimage-test # only build the entire stack if we are not using the test image