Skip to content

Commit

Permalink
build: fix quoting again
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Berezovskyi <andriib@kth.se>
  • Loading branch information
berezovskyi committed Jul 16, 2023
1 parent f8a4a96 commit ec870ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.publisher
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ WORKDIR /app

RUN apt-get update -qq && apt-get install -y --no-install-recommends git ssh
RUN git config --global user.email ${GIT_EMAIL}
RUN git config --global user.name ${GIT_USER}
RUN git config --global user.name "${GIT_USER}"
# RUN mkdir ~/.ssh/ && chmod 0700 ~/.ssh/
# COPY /secrets/id_ed25519 ~/.ssh/
# COPY /secrets/id_ed25519.pub ~/.ssh/
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml.sample
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Due to https://github.com/docker/compose/issues/4513#issuecomment-327159797
version: '2.4'

x-ZIGVER: &ZIGVER 'ZIGVER=0.10.0'
x-ZIGVER: &ZIGVER 'ZIGVER=0.10.1'

services:
# 1) Avoid bespoke tags
Expand Down Expand Up @@ -31,8 +31,8 @@ services:
context: ./
dockerfile: Dockerfile.publisher
args:
- GIT_USER='John von Neumann'
- GIT_EMAIL=john@example.com
- 'GIT_USER=John Doe'
- 'GIT_EMAIL=john@example.com'
- *ZIGVER
restart: always
# environment:
Expand Down

0 comments on commit ec870ad

Please sign in to comment.