CI: improve workflow debug 11
Some checks failed
/ build (push) Failing after 22s

This commit is contained in:
phil 2024-10-28 11:59:40 +01:00
parent 0393e50fc7
commit f3e917ff98

View file

@ -2,13 +2,18 @@ on:
push:
workflow_dispatch:
inputs:
logLevel:
verbose:
description: "Verbose"
required: false
default: false
type: boolean
build:
description: "Build container"
description: "Build container image"
required: false
default: false
type: boolean
push:
description: "Push container image to registry"
required: false
default: false
type: boolean
@ -46,7 +51,7 @@ jobs:
- name: Install podman and buildah
if: ${{ inputs.build }}
run: |
apt-get install -y podman buildah
apt-get install -y --no-install-recommends podman buildah
- name: Build container
if: ${{ inputs.build }}
@ -58,7 +63,7 @@ jobs:
./Containerfile.for_runner
- uses: actions/push-to-registry@v2
if: ${{ inputs.build }}
if: ${{ inputs.push }}
with:
registry: "docker://${{ vars.REPOSITORY }}"
image: treetrail-backend