Skip to content

Commit

Permalink
Use full git commit sha in image.
Browse files Browse the repository at this point in the history
  • Loading branch information
glogiotatidis committed Dec 3, 2020
1 parent f9528cb commit 1e7907e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
build:
context: .
args:
GIT_SHA: "${CI_COMMIT_SHORT_SHA:-HEAD}"
GIT_SHA: "${CI_COMMIT_SHA:-HEAD}"
image: "mozmeao/snippets:${CI_COMMIT_SHORT_SHA:-latest}"
ports:
- "8443:8443"
Expand All @@ -26,7 +26,7 @@ services:
build:
context: ./redirector
args:
GIT_SHA: "${CI_COMMIT_SHORT_SHA:-HEAD}"
GIT_SHA: "${CI_COMMIT_SHA:-HEAD}"
image: "mozmeao/snippets:redirector-${CI_COMMIT_SHORT_SHA:-latest}"
volumes:
- ./redirector:/app
Expand Down

0 comments on commit 1e7907e

Please sign in to comment.