ci,dockerfile: use full namespace image ident.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
373df9f4da
commit
385e760319
16
.drone.yml
16
.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}}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user