Testing Change of Docker Repository

This commit is contained in:
Stefan Hoffmann 2023-03-31 18:48:22 +02:00
parent af9b59628c
commit 6a3494504d
Signed by: stefan
GPG Key ID: 8EFC7042BF8D5CDD

View File

@ -5,29 +5,30 @@ steps:
- name: docker
image: plugins/docker
settings:
registry: git.freifunk-rhein-sieg.net
repo: fftdf/freifunk-rhein-sieg.net
username:
from_secret: docker_username
from_secret: gitea_user
password:
from_secret: docker_password
from_secret: gitea_token
tags: ${DRONE_COMMIT_BRANCH}
- name: publish Website
image: appleboy/drone-ssh
settings:
host: freifunk-rhein-sieg.net
port: 22
username: dronebot
password:
from_secret: ffrs_server_password
script:
- cd /opt/docker/ffrs-website-docker-compose/
- docker-compose pull
- docker-compose up -d
- name: slack
image: plugins/slack
settings:
webhook:
from_secret: slack_webhook
channel: z_rhein-sieg-website
#- name: publish Website
# image: appleboy/drone-ssh
# settings:
# host: freifunk-rhein-sieg.net
# port: 22
# username: dronebot
# password:
# from_secret: ffrs_server_password
# script:
# - cd /opt/docker/ffrs-website-docker-compose/
# - docker-compose pull
# - docker-compose up -d
#
#- name: slack
# image: plugins/slack
# settings:
# webhook:
# from_secret: slack_webhook
# channel: z_rhein-sieg-website