diff --git a/.woodpecker.yml b/.woodpecker.yml index 7dbaed8..f4da37d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,13 +1,13 @@ -pipeline: +steps: build-and-push: image: plugins/docker settings: registry: code.cozy.town - username: + username: from_secret: registry_username - password: + password: from_secret: registry_token repo: code.cozy.town/vrifox/hugoci - tags: + tags: - latest - cache_from: code.cozy.town/vrifox/hugoci:latest \ No newline at end of file + cache_from: code.cozy.town/vrifox/hugoci:latest diff --git a/Dockerfile b/Dockerfile index 5c82374..6317be9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,5 @@ FROM docker.io/alpine:latest -RUN apk add --no-cache hugo git openssh rsync \ No newline at end of file +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 \ No newline at end of file