Compare commits

...

2 commits

Author SHA1 Message Date
eaf380bfdc
add pnpm
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-02-16 21:32:34 +01:00
cc3caa58b6
use settings block
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline is pending
2023-05-16 20:23:43 +02:00
2 changed files with 15 additions and 12 deletions

View file

@ -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

View file

@ -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