diff --git a/.woodpecker.yml b/.woodpecker.yml index 6132252..f4da37d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,12 +1,10 @@ -when: - - event: [manual, push] - steps: build-and-push: image: plugins/docker settings: registry: code.cozy.town - username: vrifox + username: + from_secret: registry_username password: from_secret: registry_token repo: code.cozy.town/vrifox/hugoci diff --git a/Dockerfile b/Dockerfile index effe322..6317be9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM docker.io/alpine:latest -RUN apk add --no-cache hugo git openssh rsync npm go +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 npm --version +RUN pnpm --version \ No newline at end of file