update drone to use other registry

pull/3/head
Fionn 2 years ago
parent 049f4d75b9
commit 4628cf1544

@ -3,12 +3,12 @@ type: docker
name: build dev name: build dev
steps: steps:
- name: build and push image - name: build for staging
image: plugins/docker image: plugins/docker
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
registry: git.fsisp.de registry: hub.fsisp.de
repo: git.fsisp.de/fionn/iassure-wx repo: hub.fsisp.de/library/iassure-wx
username: username:
from_secret: reg_username from_secret: reg_username
password: password:
@ -16,32 +16,27 @@ steps:
tags: tags:
- dev - dev
- '${DRONE_COMMIT:0:8}' - '${DRONE_COMMIT:0:8}'
when:
branch:
- dev
- develop
event:
- push
trigger: - name: build for production
branch:
- dev
- develop
---
kind: pipeline
type: docker
name: build master
steps:
- name: build and push image
image: plugins/docker image: plugins/docker
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
registry: git.fsisp.de registry: hub.fsisp.de
repo: git.fsisp.de/fionn/iassure-wx repo: hub.fsisp.de/library/iassure-wx
username: username:
from_secret: reg_username from_secret: reg_username
password: password:
from_secret: reg_password from_secret: reg_password
tags: tags:
- latest - latest
- '${DRONE_TAG}'
- '${DRONE_COMMIT:0:8}' - '${DRONE_COMMIT:0:8}'
when:
trigger: event:
branch: - tag
- main

@ -6,7 +6,7 @@ This service is designed to gather weather data to be used by [IASsure](https://
## Installation/Deployment ## Installation/Deployment
IASsure-WX can be installed using docker. The image is available at `git.fsisp.de/fionn/iassure-wx`. IASsure-WX can be installed using docker. The image is available at `hub.fsisp.de/library/iassure-wx`.
Tags: Tags:
- `latest` - The newest recommended build, built from `main` - `latest` - The newest recommended build, built from `main`
@ -29,6 +29,6 @@ BASE_PATH=/api
# defines ips that are allowed as proxy ips # defines ips that are allowed as proxy ips
# See http://expressjs.com/en/guide/behind-proxies.html # See http://expressjs.com/en/guide/behind-proxies.html
TRUST_PROXY= TRUST_PROXY=
# set to true to disable /api-Endpoint. will also diable frontend. # set to true to disable /api-Endpoint. will also disable frontend.
DISABLE_DEFAULT_API_ENDPOINT= DISABLE_DEFAULT_API_ENDPOINT=
``` ```

Loading…
Cancel
Save