diff --git a/.github/actions/build-push-image-with-apko/action.yml b/.github/actions/build-push-image-with-apko/action.yml index bd0a312e2f..e48fe256b7 100644 --- a/.github/actions/build-push-image-with-apko/action.yml +++ b/.github/actions/build-push-image-with-apko/action.yml @@ -28,7 +28,7 @@ runs: using: "composite" steps: - id: check-image-exists - if: ${{ inputs.overwrite == 'false' }} + if: ${{ inputs.overwrite == '' || inputs.overwrite == 'false' }} shell: bash run: | set -euo pipefail diff --git a/.github/workflows/image-deps-updater.yaml b/.github/workflows/image-deps-updater.yaml index 85a6a2aaab..fe57dfda89 100644 --- a/.github/workflows/image-deps-updater.yaml +++ b/.github/workflows/image-deps-updater.yaml @@ -45,7 +45,7 @@ jobs: image-name: index.docker.io/kotsadm/minio:${{ steps.get-tags.outputs.minio-tag }} registry-username: ${{ secrets.DOCKERHUB_USER }} registry-password: ${{ secrets.DOCKERHUB_PASSWORD }} - overwrite: ${{ github.event.inputs.overwrite || 'false' }} + overwrite: ${{ github.event.inputs.overwrite }} - name: Build and push rqlite image uses: ./.github/actions/build-push-image-with-apko @@ -54,7 +54,7 @@ jobs: image-name: index.docker.io/kotsadm/rqlite:${{ steps.get-tags.outputs.rqlite-tag }} registry-username: ${{ secrets.DOCKERHUB_USER }} registry-password: ${{ secrets.DOCKERHUB_PASSWORD }} - overwrite: ${{ github.event.inputs.overwrite || 'false' }} + overwrite: ${{ github.event.inputs.overwrite }} - name: Build and push dex image uses: ./.github/actions/build-push-image-with-apko @@ -63,7 +63,7 @@ jobs: image-name: index.docker.io/kotsadm/dex:${{ steps.get-tags.outputs.dex-tag }} registry-username: ${{ secrets.DOCKERHUB_USER }} registry-password: ${{ secrets.DOCKERHUB_PASSWORD }} - overwrite: ${{ github.event.inputs.overwrite || 'false' }} + overwrite: ${{ github.event.inputs.overwrite }} update-image-deps: