Testing Change of Docker Repository
This commit is contained in:
parent
af9b59628c
commit
6a3494504d
43
.drone.yml
43
.drone.yml
@ -5,29 +5,30 @@ steps:
|
|||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
registry: git.freifunk-rhein-sieg.net
|
||||||
repo: fftdf/freifunk-rhein-sieg.net
|
repo: fftdf/freifunk-rhein-sieg.net
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: gitea_user
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: gitea_token
|
||||||
tags: ${DRONE_COMMIT_BRANCH}
|
tags: ${DRONE_COMMIT_BRANCH}
|
||||||
|
|
||||||
- name: publish Website
|
#- name: publish Website
|
||||||
image: appleboy/drone-ssh
|
# image: appleboy/drone-ssh
|
||||||
settings:
|
# settings:
|
||||||
host: freifunk-rhein-sieg.net
|
# host: freifunk-rhein-sieg.net
|
||||||
port: 22
|
# port: 22
|
||||||
username: dronebot
|
# username: dronebot
|
||||||
password:
|
# password:
|
||||||
from_secret: ffrs_server_password
|
# from_secret: ffrs_server_password
|
||||||
script:
|
# script:
|
||||||
- cd /opt/docker/ffrs-website-docker-compose/
|
# - cd /opt/docker/ffrs-website-docker-compose/
|
||||||
- docker-compose pull
|
# - docker-compose pull
|
||||||
- docker-compose up -d
|
# - docker-compose up -d
|
||||||
|
#
|
||||||
- name: slack
|
#- name: slack
|
||||||
image: plugins/slack
|
# image: plugins/slack
|
||||||
settings:
|
# settings:
|
||||||
webhook:
|
# webhook:
|
||||||
from_secret: slack_webhook
|
# from_secret: slack_webhook
|
||||||
channel: z_rhein-sieg-website
|
# channel: z_rhein-sieg-website
|
Loading…
Reference in New Issue
Block a user