Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- kind: pipeline
- type: docker
- name: build
-
- clone:
- disable: true
-
- steps:
- - name: clone
- image: docker:git
- environment:
- KEY:
- from_secret: DEPLOY_KEY
- PUBLIC:
- from_secret: DEPLOY_KEY_PUBLIC
- commands:
- - eval $(ssh-agent)
- - mkdir $HOME/.ssh && echo "$KEY" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa && echo "$PUBLIC" > $HOME/.ssh/id_rsa.pub
- - ssh-add $HOME/.ssh/id_rsa && ssh-keyscan -p 2222 -H 104.248.32.133 >> $HOME/.ssh/known_hosts && ssh-keyscan -p 2222 -H gitea.torrion-vault.xyz >> $HOME/.ssh/known_hosts
- - git clone ssh://git@gitea.torrion-vault.xyz:2222/Torrion/arbitry.git
- - ls -la
- # - name: build_php_base
- # image: plugins/docker
- # settings:
- # dockerfile: docker/php/Dockerfile
- # registry: localhost
- # repo: arbitry_php_base
- # dry_run: true
- # insecure: true
- # build_args:
- # PHP_VERSION: 7.4.4
- #
- # - name: build_php_fpm
- # image: plugins/docker
- # settings:
- # dockerfile: docker/php-fpm/Dockerfile
- # registry: localhost
- # repo: arbitry_php_fpm
- # dry_run: true
- # insecure: true
- # build_args:
- # PHP_VERSION: 7.4.4
- # BUILD_IMAGE: arbitry_php_base
- # depends_on:
- # - build_php_base
- # trigger:
- # status:
- # - success
|