From 0518d3631a59ad4036769d6068226e9ab660a845 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 5 Mar 2024 09:12:33 -0700 Subject: [PATCH] Try string type. --- .gitea/workflows/docker.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/docker.yaml b/.gitea/workflows/docker.yaml index 06ae0f2..53b012a 100644 --- a/.gitea/workflows/docker.yaml +++ b/.gitea/workflows/docker.yaml @@ -13,19 +13,19 @@ on: description: True if the image should be pushed after building required: false default: false - type: boolean + type: string # really boolean jobs: build: runs-on: cjyar-24 steps: - name: docker login - if: ${{ inputs.push == true }} + if: ${{ inputs.push == 'true' }} run: docker login -u cjyar -p "${{ secrets.DOCKER_TOKEN }}" - uses: actions/checkout@v4 - name: build run: docker build -t ${{ inputs.image_name }}:${{ github.run_number }} . - name: push - if: ${{ inputs.push == true }} + if: ${{ inputs.push == 'true' }} run: | docker create --name run_${{ github.run_number }} ${{ inputs.image_name }}:${{ github.run_number }} docker export -o /tmp/image run_${{ github.run_number }}