diff --git a/.drone.yml b/.drone.yml index 4c6922e..3490a35 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ name: REGISTRY_USER 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 name: REGISTRY_CONFIG data: bANljkgq1agad9UeQ9GVeKzIOUvfVRqCfk7AwrkmpShFEDhFVir/lk8r/3e8a8N6xPbrgCSvt8rim9E0LypTcS6w47khZGYcI7ImQqGIR3DwWhPprY7Z2TT+9RFj8q2Tti/g3S14JZX2ELrLLno/FrqhNkZVioWjP48CtzToV2FcIvTJOvDJbGWWf4v9AV4VcCP1IwPTO4YbQVdVVr26N2wJ1AsZZPxxfyk7ICTv @@ -27,7 +27,7 @@ platform: steps: - name: install - image: registry.lamelio.fr/hugo + image: registry.weko.io/hugo commands: - git submodule update --init - (cd themes/hugo-theme-lowtech && npm i) @@ -43,8 +43,8 @@ steps: from_secret: REGISTRY_USER password: from_secret: REGISTRY_PASSWORD - repo: registry.lamelio.fr/histoiredunpied - registry: registry.lamelio.fr + repo: registry.weko.io/histoiredunpied + registry: registry.weko.io auto_tag: true tags: - latest diff --git a/.env.example b/.env.example index d71d78f..396b362 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,7 @@ TIMEZONE=Europe/Paris NAME=histoiredunpied 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 LOG_PATH=/var/log/nginx/access.log diff --git a/Dockerfile b/Dockerfile index 55977d1..be58b6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 COPY public /usr/share/nginx/html diff --git a/docker-build.sh b/docker-build.sh index 4c14b9c..567e178 100755 --- a/docker-build.sh +++ b/docker-build.sh @@ -10,8 +10,8 @@ echo "😎 Start build histoiredunpied" echo "- build image 🚀" docker build . -t kosssi/histoiredunpied -docker tag kosssi/histoiredunpied registry.lamelio.fr/histoiredunpied -docker push registry.lamelio.fr/histoiredunpied +docker tag kosssi/histoiredunpied registry.weko.io/histoiredunpied +docker push registry.weko.io/histoiredunpied END=`date +%s` echo "✨ Done in $((END-START))s" diff --git a/docker-compose.yml b/docker-compose.yml index 2a344f4..086cdec 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ volumes: services: histoiredunpied-autopush: container_name: histoiredunpied-autopush - image: registry.lamelio.fr/autopush + image: registry.weko.io/autopush restart: always depends_on: - histoiredunpied @@ -24,7 +24,7 @@ services: histoiredunpied-logs: container_name: histoiredunpied-logs - image: registry.lamelio.fr/goaccess + image: registry.weko.io/goaccess restart: always depends_on: - histoiredunpied-autopush @@ -36,7 +36,7 @@ services: histoiredunpied: container_name: ${NAME} - image: registry.lamelio.fr/histoiredunpied + image: registry.weko.io/histoiredunpied restart: always environment: - TZ=${TIMEZONE}