Compare commits

...

2 commits

Author SHA1 Message Date
0c6403717a
add npm
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-02-16 21:48:23 +01:00
d0133227be
use settings block 2024-02-16 21:47:36 +01:00
2 changed files with 14 additions and 12 deletions

View file

@ -1,13 +1,13 @@
pipeline:
steps:
build-and-push:
image: plugins/docker
settings:
registry: code.cozy.town
username: ${REGISTRY_USERNAME}
password: ${REGISTRY_TOKEN}
username:
from_secret: registry_username
password:
from_secret: registry_token
repo: code.cozy.town/vrifox/hugoci
tags:
- latest
cache_from: code.cozy.town/vrifox/hugoci:latest
secrets:
- registry_username
- registry_token

View file

@ -1,2 +1,4 @@
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