Move registry
This commit is contained in:
parent
1271d88643
commit
1cd5839586
|
@ -11,7 +11,7 @@ name: REGISTRY_USER
|
||||||
data: DbrlPJuIlZPS9A/GYlSP0Og/SFJY8flEgEFrebtCa/AnOg==
|
data: DbrlPJuIlZPS9A/GYlSP0Og/SFJY8flEgEFrebtCa/AnOg==
|
||||||
|
|
||||||
---
|
---
|
||||||
# drone encrypt kosssi/histoiredunpied "{\"auths\":{\"https://registry.lamelio.fr\":{\"auth\":\"$(echo -n "$REGISTRY_USER:$REGISTRY_PASSWORD" | base64)\",\"email\":\"$REGISTRY_USER\"}}}"
|
# drone encrypt kosssi/histoiredunpied "{\"auths\":{\"https://registry.weko.io\":{\"auth\":\"$(echo -n "$REGISTRY_USER:$REGISTRY_PASSWORD" | base64)\",\"email\":\"$REGISTRY_USER\"}}}"
|
||||||
kind: secret
|
kind: secret
|
||||||
name: REGISTRY_CONFIG
|
name: REGISTRY_CONFIG
|
||||||
data: bANljkgq1agad9UeQ9GVeKzIOUvfVRqCfk7AwrkmpShFEDhFVir/lk8r/3e8a8N6xPbrgCSvt8rim9E0LypTcS6w47khZGYcI7ImQqGIR3DwWhPprY7Z2TT+9RFj8q2Tti/g3S14JZX2ELrLLno/FrqhNkZVioWjP48CtzToV2FcIvTJOvDJbGWWf4v9AV4VcCP1IwPTO4YbQVdVVr26N2wJ1AsZZPxxfyk7ICTv
|
data: bANljkgq1agad9UeQ9GVeKzIOUvfVRqCfk7AwrkmpShFEDhFVir/lk8r/3e8a8N6xPbrgCSvt8rim9E0LypTcS6w47khZGYcI7ImQqGIR3DwWhPprY7Z2TT+9RFj8q2Tti/g3S14JZX2ELrLLno/FrqhNkZVioWjP48CtzToV2FcIvTJOvDJbGWWf4v9AV4VcCP1IwPTO4YbQVdVVr26N2wJ1AsZZPxxfyk7ICTv
|
||||||
|
@ -27,7 +27,7 @@ platform:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install
|
- name: install
|
||||||
image: registry.lamelio.fr/hugo
|
image: registry.weko.io/hugo
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- (cd themes/hugo-theme-lowtech && npm i)
|
- (cd themes/hugo-theme-lowtech && npm i)
|
||||||
|
@ -43,8 +43,8 @@ steps:
|
||||||
from_secret: REGISTRY_USER
|
from_secret: REGISTRY_USER
|
||||||
password:
|
password:
|
||||||
from_secret: REGISTRY_PASSWORD
|
from_secret: REGISTRY_PASSWORD
|
||||||
repo: registry.lamelio.fr/histoiredunpied
|
repo: registry.weko.io/histoiredunpied
|
||||||
registry: registry.lamelio.fr
|
registry: registry.weko.io
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
TIMEZONE=Europe/Paris
|
TIMEZONE=Europe/Paris
|
||||||
NAME=histoiredunpied
|
NAME=histoiredunpied
|
||||||
URL=histoiredunpied.com
|
URL=histoiredunpied.com
|
||||||
IMAGE=registry.lamelio.fr/nginx-lowtech:0.0.3
|
IMAGE=registry.weko.io/nginx-lowtech:0.0.3
|
||||||
HUGO_VERSION=0.67.1
|
HUGO_VERSION=0.67.1
|
||||||
|
|
||||||
LOG_PATH=/var/log/nginx/access.log
|
LOG_PATH=/var/log/nginx/access.log
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM registry.lamelio.fr/nginx-lowtech:0.0.5
|
FROM registry.weko.io/nginx-lowtech:0.0.5
|
||||||
|
|
||||||
# Copie des sources du site
|
# Copie des sources du site
|
||||||
COPY public /usr/share/nginx/html
|
COPY public /usr/share/nginx/html
|
||||||
|
|
|
@ -10,8 +10,8 @@ echo "😎 Start build histoiredunpied"
|
||||||
|
|
||||||
echo "- build image 🚀"
|
echo "- build image 🚀"
|
||||||
docker build . -t kosssi/histoiredunpied
|
docker build . -t kosssi/histoiredunpied
|
||||||
docker tag kosssi/histoiredunpied registry.lamelio.fr/histoiredunpied
|
docker tag kosssi/histoiredunpied registry.weko.io/histoiredunpied
|
||||||
docker push registry.lamelio.fr/histoiredunpied
|
docker push registry.weko.io/histoiredunpied
|
||||||
|
|
||||||
END=`date +%s`
|
END=`date +%s`
|
||||||
echo "✨ Done in $((END-START))s"
|
echo "✨ Done in $((END-START))s"
|
||||||
|
|
|
@ -9,7 +9,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
histoiredunpied-autopush:
|
histoiredunpied-autopush:
|
||||||
container_name: histoiredunpied-autopush
|
container_name: histoiredunpied-autopush
|
||||||
image: registry.lamelio.fr/autopush
|
image: registry.weko.io/autopush
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- histoiredunpied
|
- histoiredunpied
|
||||||
|
@ -24,7 +24,7 @@ services:
|
||||||
|
|
||||||
histoiredunpied-logs:
|
histoiredunpied-logs:
|
||||||
container_name: histoiredunpied-logs
|
container_name: histoiredunpied-logs
|
||||||
image: registry.lamelio.fr/goaccess
|
image: registry.weko.io/goaccess
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- histoiredunpied-autopush
|
- histoiredunpied-autopush
|
||||||
|
@ -36,7 +36,7 @@ services:
|
||||||
|
|
||||||
histoiredunpied:
|
histoiredunpied:
|
||||||
container_name: ${NAME}
|
container_name: ${NAME}
|
||||||
image: registry.lamelio.fr/histoiredunpied
|
image: registry.weko.io/histoiredunpied
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TIMEZONE}
|
- TZ=${TIMEZONE}
|
||||||
|
|
Loading…
Reference in New Issue