Skip to content
Snippets Groups Projects
Commit 2305fe21 authored by L4168's avatar L4168
Browse files

gitlab-ci fix

parent e9111d3c
No related branches found
No related tags found
No related merge requests found
Pipeline #63912 passed
......@@ -10,9 +10,10 @@ docker-push:
only:
- testing
before_script:
- printf "REACT_APP_URL=%s\n" "$REACT_APP_URL" > .env
- echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USER" --password-stdin
script:
- docker build --build-arg REACT_APP_URL=${REACT_APP_URL} -t overflow2019/frontend:test .
- docker build -t overflow2019/frontend:test .
- docker push overflow2019/frontend
after_script:
- docker logout
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment