variables: DOCKER_DRIVER: overlay2 DOCKER_HOST: tcp://localhost:2375 DOCKER_TLS_CERTDIR: '' VERSION: '' GITHUB_REPO: git@github.com:pipefy/pipestyle.git stages: - deps - tests - build - deploy - deploy-beta .template: image: git.pipefy.net:4567/pipefy/docker-images/node-aws-cli/14.15.3 before_script: - apk --update add git openssh openssh-client expect # Github auth - mkdir -p ~/.ssh - eval $(ssh-agent -s) - echo -n "$GITHUB_SSH_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' # Change .git origin - git remote set-url origin $GITHUB_REPO - git config --global user.name "$GIT_USER_NAME" - git config --global user.email "$GIT_USER_EMAIL" - git pull --rebase origin main-legacy # Npm login - | echo "npm login" expect <