From c8943b62529d46c16058d2c060f3515e2e82afc4 Mon Sep 17 00:00:00 2001 From: geirawsm Date: Wed, 27 Nov 2024 15:32:26 +0100 Subject: [PATCH] Brainfarts en masse in docker config --- .github/workflows/dev.yml | 2 +- dockerfile | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 2ec19b1..d19b6a0 100755 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -57,7 +57,7 @@ jobs: tags: ${{ secrets.DOCKER_USER }}/sausage_bot:${{ github.ref_name }} labels: | Branch=${{ github.ref_name }} - Last commit_msg=${{ github.event.head_commit.message }} + Last commit msg=${{ github.event.head_commit.message }} Last commit=${{ github.sha }} Last run number=${{ github.run_number }} build-args: | diff --git a/dockerfile b/dockerfile index dccc567..313aa9d 100755 --- a/dockerfile +++ b/dockerfile @@ -18,10 +18,10 @@ ARG LAST_COMMIT="testcommit" ARG LAST_RUN_NUMBER="testrun" RUN echo -e \ - "{\"BRANCH\": \"${BRANCH}\", "\ - "\"LAST_COMMIT_MSG\": \"${LAST_COMMIT_MSG}\"}"\ - "\"LAST_COMMIT\": \"${LAST_COMMIT}\"}"\ - "\"LAST_RUN_NUMBER\": \"${LAST_RUN_NUMBER}\", "\ + "{\"BRANCH\": \"${BRANCH}\","\ + "\"LAST_COMMIT_MSG\": \"${LAST_COMMIT_MSG}\","\ + "\"LAST_COMMIT\": \"${LAST_COMMIT}\","\ + "\"LAST_RUN_NUMBER\": \"${LAST_RUN_NUMBER}\"}"\ > /app/sausage_bot/version.json # Run bot