Skip to content

Commit

Permalink
Brainfarts en masse in docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
geirawsm committed Nov 27, 2024
1 parent 2c900df commit c8943b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
8 changes: 4 additions & 4 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8943b6

Please sign in to comment.