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