Skip to content

Commit

Permalink
rundev target with git version passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Jun 2, 2022
1 parent d22a058 commit eafff01
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ RUN if [ -z "$SKIP_FRONTEND_BUILD" ] ; then \
; fi
RUN rm -rf ./node_modules

FROM umputun/baseimage:app-v1.8.0
FROM umputun/baseimage:app-v1.9.1

WORKDIR /srv

Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ frontend:
docker-compose -f compose-dev-frontend.yml build

rundev:
docker pull umputun/baseimage:buildgo-latest
SKIP_BACKEND_TEST=true SKIP_FRONTEND_TEST=true docker-compose -f compose-private.yml build
docker pull umputun/baseimage:buildgo-v1.9.1
SKIP_BACKEND_TEST=true SKIP_FRONTEND_TEST=true GITHUB_REF=$(GITHUB_REF) GITHUB_SHA=$(GITHUB_SHA) CI=true \
docker-compose -f compose-private.yml build
docker-compose -f compose-private.yml up

.PHONY: bin backend
4 changes: 3 additions & 1 deletion compose-dev-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ services:
- SKIP_BACKEND_TEST
- BACKEND_TEST_TIMEOUT
- SKIP_FRONTEND_TEST=true

- CI
- GITHUB_REF
- GITHUB_SHA
image: umputun/remark42:dev
container_name: "remark42-dev"
hostname: "remark42-dev"
Expand Down

0 comments on commit eafff01

Please sign in to comment.