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
|
- name: submodules
|
||||||
pull: always
|
pull: always
|
||||||
depends_on: [clone]
|
depends_on: [clone]
|
||||||
image: alpine/git
|
image: docker.io/alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git --version
|
- git --version
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
@ -39,7 +39,7 @@ steps:
|
|||||||
|
|
||||||
# perform basic checks on failure
|
# perform basic checks on failure
|
||||||
- name: diagnostics
|
- name: diagnostics
|
||||||
image: plugins/drone-diagnostics
|
image: docker.io/plugins/drone-diagnostics
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
commands:
|
commands:
|
||||||
- env
|
- env
|
||||||
@ -84,7 +84,7 @@ steps:
|
|||||||
- name: submodules
|
- name: submodules
|
||||||
pull: always
|
pull: always
|
||||||
depends_on: [clone]
|
depends_on: [clone]
|
||||||
image: alpine/git
|
image: docker.io/alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git --version
|
- git --version
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
@ -99,7 +99,7 @@ steps:
|
|||||||
- name: pull tmaier/docker-compose
|
- name: pull tmaier/docker-compose
|
||||||
pull: always
|
pull: always
|
||||||
depends_on: [clone]
|
depends_on: [clone]
|
||||||
image: tmaier/docker-compose:latest
|
image: docker.io/tmaier/docker-compose:latest
|
||||||
commands:
|
commands:
|
||||||
- uname -r
|
- uname -r
|
||||||
- cat /etc/os-release
|
- cat /etc/os-release
|
||||||
@ -124,7 +124,7 @@ steps:
|
|||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
pull: always
|
pull: always
|
||||||
image: tmaier/docker-compose:latest
|
image: docker.io/tmaier/docker-compose:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
- pull tmaier/docker-compose
|
- pull tmaier/docker-compose
|
||||||
- rm-intermediate
|
- rm-intermediate
|
||||||
@ -139,7 +139,7 @@ steps:
|
|||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
pull: always
|
pull: always
|
||||||
image: tmaier/docker-compose:latest
|
image: docker.io/tmaier/docker-compose:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
- build
|
- build
|
||||||
volumes:
|
volumes:
|
||||||
@ -153,7 +153,7 @@ steps:
|
|||||||
|
|
||||||
# perform basic checks on failure
|
# perform basic checks on failure
|
||||||
- name: diagnostics
|
- name: diagnostics
|
||||||
image: plugins/drone-diagnostics
|
image: docker.io/plugins/drone-diagnostics
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
commands:
|
commands:
|
||||||
- env
|
- env
|
||||||
@ -194,7 +194,7 @@ depends_on: [build]
|
|||||||
steps:
|
steps:
|
||||||
- name: discord
|
- name: discord
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: appleboy/drone-discord:latest
|
image: docker.io/appleboy/drone-discord:latest
|
||||||
settings:
|
settings:
|
||||||
message: >
|
message: >
|
||||||
{{#success build.status}}
|
{{#success build.status}}
|
||||||
|
@ -10,7 +10,7 @@ RUN git submodule init \
|
|||||||
&& hugo --minify --gc=true
|
&& 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 /home/$(whoami)/public/ /usr/share/nginx/html
|
||||||
COPY --from=hugobuild /docs/public/ /usr/share/nginx/html
|
COPY --from=hugobuild /docs/public/ /usr/share/nginx/html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user