Compare commits

...

2 Commits

Author SHA1 Message Date
1c9b946e49
fix: 🚑 fix concat issue
Some checks failed
ci/woodpecker/push/scans Pipeline was successful
ci/woodpecker/push/build Pipeline failed
2024-10-31 09:52:47 +01:00
373532d739
refactor: 🎨 case matching in dockerfile 2024-10-31 09:32:58 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM python:3.12 as builder
FROM python:3.12 AS builder
RUN pip install poetry
@ -14,7 +14,7 @@ RUN touch README.md
RUN --mount=type=cache,target=$POETRY_CACHE_DIR poetry install --without dev --no-root
FROM python:3.12-slim as runtime
FROM python:3.12-slim AS runtime
RUN pip install poetry

View File

@ -87,7 +87,7 @@ try:
loginfo = client.get(f"/api/repos/{repo_id}/logs/{pipeline_number}/{step['id']}").json()
logdata = b""
for logline in loginfo:
logdata += b64decode(logline["data"]) + "\n"
logdata += b64decode(logline["data"]) + b"\n"
logfile_webhook.add_file(logdata, f"{step['name']}.ansi")
except KeyError:
webhook.add_embed(DiscordEmbed(