diff --git a/.circleci/config.yml b/.circleci/config.yml index 3928ae7..21f23bb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -64,4 +64,20 @@ jobs: command: dockerize wait tcp://localhost:5432 -timeout 1m - run: name: e2e test - command: yarn test:e2e \ No newline at end of file + command: yarn test:e2e + build_docker: + environment + IMAGE_NAME: 698148/my-awesome + docker: + - image: circleci/buildpack-deps:stretch + steps: + - checkout + - run: bash scripts/generate.sh > Dockerfile + + - run: docker login -u $698148 -p $n698k148* + + - run: docker build -t $698148/$IMAGE_NAME:app . + + - run: docker push $698148/$IMAGE_NAME:$IMAGE_TAG && sleep 10 + + \ No newline at end of file