diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index edfba3c..4561221 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -6,18 +6,6 @@ when: #- test steps: - container_build_release_push: - image: maltegrosse/woodpecker-buildah:0.0.12 - settings: - registry: code.philo.ydns.eu - repository: philorg/test-woodpecker-webapp - tags: ${CI_COMMIT_SHA} - architectures: amd64 - context: Containerfile - username: - from_secret: registry_username - password: - from_secret: registry_password npm: image: docker.io/gplane/pnpm:alpine @@ -30,3 +18,16 @@ steps: - pnpm set "//code.philo.ydns.eu/api/packages/$ORG/npm/:_authToken=$REGISTRY_TOKEN" - pnpm publish --no-git-checks #failure: ignore + + container_build_release_push: + image: maltegrosse/woodpecker-buildah:0.0.12 + settings: + registry: code.philo.ydns.eu + repository: philorg/test-woodpecker-webapp + tags: ${CI_COMMIT_SHA} + architectures: amd64 + context: Containerfile + username: + from_secret: registry_username + password: + from_secret: registry_password diff --git a/Containerfile b/Containerfile index c316915..9c8a776 100644 --- a/Containerfile +++ b/Containerfile @@ -5,7 +5,7 @@ ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable WORKDIR /app COPY package*.json ./ -RUN pnpm install +RUN pnpm install --frozen-lockfile COPY ./ . RUN pnpm run build