Compare commits
2 commits
0c6403717a
...
eaf380bfdc
Author | SHA1 | Date | |
---|---|---|---|
eaf380bfdc | |||
cc3caa58b6 |
2 changed files with 15 additions and 12 deletions
|
@ -1,13 +1,13 @@
|
||||||
pipeline:
|
steps:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
registry: code.cozy.town
|
registry: code.cozy.town
|
||||||
username: ${REGISTRY_USERNAME}
|
username:
|
||||||
password: ${REGISTRY_TOKEN}
|
from_secret: registry_username
|
||||||
|
password:
|
||||||
|
from_secret: registry_token
|
||||||
repo: code.cozy.town/vrifox/hugoci
|
repo: code.cozy.town/vrifox/hugoci
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
cache_from: code.cozy.town/vrifox/hugoci:latest
|
cache_from: code.cozy.town/vrifox/hugoci:latest
|
||||||
secrets:
|
|
||||||
- registry_username
|
|
||||||
- registry_token
|
|
|
@ -1,2 +1,5 @@
|
||||||
FROM docker.io/alpine:latest
|
FROM docker.io/alpine:latest
|
||||||
RUN apk add --no-cache hugo git openssh rsync
|
RUN apk add --no-cache hugo git openssh rsync curl nodejs
|
||||||
|
RUN curl -L https://unpkg.com/@pnpm/self-installer | node
|
||||||
|
RUN hugo version
|
||||||
|
RUN pnpm --version
|
||||||
|
|
Loading…
Reference in a new issue