From 385e7603190146653e018714b537738fd497acbc Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 24 Sep 2022 21:15:03 +0300 Subject: [PATCH] ci,dockerfile: use full namespace image ident. --- .drone.yml | 16 ++++++++-------- Dockerfile | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index f02921a..c2ce1bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,7 @@ steps: - name: submodules pull: always depends_on: [clone] - image: alpine/git + image: docker.io/alpine/git commands: - git --version - git submodule update --init --recursive @@ -39,7 +39,7 @@ steps: # perform basic checks on failure - name: diagnostics - image: plugins/drone-diagnostics + image: docker.io/plugins/drone-diagnostics pull: if-not-exists commands: - env @@ -84,7 +84,7 @@ steps: - name: submodules pull: always depends_on: [clone] - image: alpine/git + image: docker.io/alpine/git commands: - git --version - git submodule update --init --recursive @@ -99,7 +99,7 @@ steps: - name: pull tmaier/docker-compose pull: always depends_on: [clone] - image: tmaier/docker-compose:latest + image: docker.io/tmaier/docker-compose:latest commands: - uname -r - cat /etc/os-release @@ -124,7 +124,7 @@ steps: - name: build pull: always - image: tmaier/docker-compose:latest + image: docker.io/tmaier/docker-compose:latest depends_on: - pull tmaier/docker-compose - rm-intermediate @@ -139,7 +139,7 @@ steps: - name: deploy pull: always - image: tmaier/docker-compose:latest + image: docker.io/tmaier/docker-compose:latest depends_on: - build volumes: @@ -153,7 +153,7 @@ steps: # perform basic checks on failure - name: diagnostics - image: plugins/drone-diagnostics + image: docker.io/plugins/drone-diagnostics pull: if-not-exists commands: - env @@ -194,7 +194,7 @@ depends_on: [build] steps: - name: discord pull: if-not-exists - image: appleboy/drone-discord:latest + image: docker.io/appleboy/drone-discord:latest settings: message: > {{#success build.status}} diff --git a/Dockerfile b/Dockerfile index 1e4c02d..49fd4a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN git submodule init \ && hugo --minify --gc=true -FROM nginx:mainline-alpine +FROM docker.io/library/nginx:mainline-alpine # COPY --from=hugobuild /home/$(whoami)/public/ /usr/share/nginx/html COPY --from=hugobuild /docs/public/ /usr/share/nginx/html