Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
640511705b | |||
eaf380bfdc | |||
cc3caa58b6 |
2 changed files with 14 additions and 12 deletions
|
@ -1,13 +1,13 @@
|
||||||
pipeline:
|
steps:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
registry: code.cozy.town
|
settings:
|
||||||
username: ${REGISTRY_USERNAME}
|
registry: code.cozy.town
|
||||||
password: ${REGISTRY_TOKEN}
|
username:
|
||||||
repo: code.cozy.town/vrifox/hugoci
|
from_secret: registry_username
|
||||||
tags:
|
password:
|
||||||
- latest
|
from_secret: registry_token
|
||||||
cache_from: code.cozy.town/vrifox/hugoci:latest
|
repo: code.cozy.town/vrifox/hugoci
|
||||||
secrets:
|
tags:
|
||||||
- registry_username
|
- latest
|
||||||
- registry_token
|
cache_from: code.cozy.town/vrifox/hugoci:latest
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
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 npm
|
||||||
|
RUN hugo version
|
||||||
|
RUN npm --version
|
||||||
|
|
Loading…
Reference in a new issue