@@ -4,23 +4,38 @@ jobs:
5 - image: docker:18.09
5 - image: docker:18.09
9+ - "dd:6f:07:f7:7e:b0:ab:07:1c:1a:43:ba:a0:a3:b9:6f"
10+ - run: apk add --no-cache --no-progress make git openssh
12+ name: Keyscan Github (HACK) #https://discuss.circleci.com/t/known-hosts-in-circle-2-0/18544
13+ command: ssh-keyscan -H github.com >> ~/.ssh/known_hosts
7 - checkout
14 - checkout
8 - setup_remote_docker
15 - setup_remote_docker
9− - run: apk add --no-cache --no-progress make
10 - run: make test-image
16 - run: make test-image
11 build_test_and_deploy:
17 build_test_and_deploy:
13 - image: docker:18.09
19 - image: docker:18.09
23+ - "dd:6f:07:f7:7e:b0:ab:07:1c:1a:43:ba:a0:a3:b9:6f"
24+ - run: apk add --no-cache --no-progress make git openssh
26+ name: Keyscan Github (HACK) #https://discuss.circleci.com/t/known-hosts-in-circle-2-0/18544
27+ command: ssh-keyscan -H github.com >> ~/.ssh/known_hosts
15 - checkout
28 - checkout
16 - setup_remote_docker
29 - setup_remote_docker
17− - run: apk add --no-cache --no-progress make
18 - run: make test-image
30 - run: make test-image
20 command: |
32 command: |
21 echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
33 echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
22 docker tag prybar:latest replco/prybar:latest
34 docker tag prybar:latest replco/prybar:latest
23 docker push replco/prybar:latest
35 docker push replco/prybar:latest
36+ git tag "circleci_job_<< pipeline.number >>_build_${CIRCLE_BUILD_NUM}"
37+ git push origin "circleci_job_<< pipeline.number >>_build_${CIRCLE_BUILD_NUM}"