Compare commits
No commits in common. "main" and "v0.3.2" have entirely different histories.
4 changed files with 21 additions and 26 deletions
|
@ -2,8 +2,8 @@ when:
|
||||||
- event: manual
|
- event: manual
|
||||||
- event: tag
|
- event: tag
|
||||||
|
|
||||||
depends_on:
|
#depends_on:
|
||||||
- test
|
#- test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
npm:
|
npm:
|
||||||
|
@ -22,9 +22,6 @@ steps:
|
||||||
image: quay.io/podman/stable:latest
|
image: quay.io/podman/stable:latest
|
||||||
# Caution: This image is built daily. It might fill up your image store quickly.
|
# Caution: This image is built daily. It might fill up your image store quickly.
|
||||||
#pull: true
|
#pull: true
|
||||||
volumes:
|
|
||||||
- containers:/var/lib/containers
|
|
||||||
- pnpm:/root/.local/share/pnpm
|
|
||||||
# Fill in the trusted checkbox in Woodpecker's settings as well
|
# Fill in the trusted checkbox in Woodpecker's settings as well
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -39,5 +36,20 @@ steps:
|
||||||
# Build the container image
|
# Build the container image
|
||||||
- podman build --volume=/var/lib/containers:/var/lib/containers --tag $registry/$org/$container_name:latest --tag $registry/$org/$container_name:$CI_COMMIT_TAG .
|
- podman build --volume=/var/lib/containers:/var/lib/containers --tag $registry/$org/$container_name:latest --tag $registry/$org/$container_name:$CI_COMMIT_TAG .
|
||||||
# Push the image
|
# Push the image
|
||||||
|
#- podman push --sign-by-sigstore-private-key ./key.private code.philo.ydns.eu/$org/$container_name:latest
|
||||||
- podman push $registry/$org/$container_name:latest
|
- podman push $registry/$org/$container_name:latest
|
||||||
- podman push $registry/$org/$container_name:$CI_COMMIT_TAG
|
- podman push $registry/$org/$container_name:$CI_COMMIT_TAG
|
||||||
|
|
||||||
|
# container_build_release_push:
|
||||||
|
# #image: docker.io/maltegrosse/woodpecker-buildah:0.0.12
|
||||||
|
# image: code.philo.ydns.eu/philorg/woodpecker-buildah
|
||||||
|
# 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
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
when:
|
|
||||||
- event: manual
|
|
||||||
- event: tag
|
|
||||||
- event: push
|
|
||||||
|
|
||||||
steps:
|
|
||||||
npm:
|
|
||||||
image: code.philo.ydns.eu/philorg/pnpm
|
|
||||||
environment:
|
|
||||||
ORG: philorg
|
|
||||||
REGISTRY_TOKEN:
|
|
||||||
from_secret: registry_token
|
|
||||||
commands:
|
|
||||||
- pnpm install --frozen-lockfile
|
|
||||||
- pnpm run type-check
|
|
|
@ -1,6 +1,5 @@
|
||||||
# test-woodpecker-webapp
|
# test-woodpecker-webapp
|
||||||
|
|
||||||
[](https://code.philo.ydns.eu/woodpecker/repos/9)
|
[](https://code.philo.ydns.eu/woodpecker/repos/6)
|
||||||
|
|
||||||
This is a sandbox for building packages (npm and container) with Woodpecker CI.
|
|
||||||
|
|
||||||
|
This is a sansbox for building packages (npm and container) with Woodpecker CI.
|
|
@ -1,13 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "test-woodpecker-webapp",
|
"name": "test-woodpecker-webapp",
|
||||||
"version": "0.5.17",
|
"version": "0.3.2",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "run-p type-check \"build-only {@}\" --",
|
"build": "run-p type-check \"build-only {@}\" --",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"build-only": "vite build",
|
"build-only": "vite build",
|
||||||
"type-check": "vue-tsc --build",
|
"type-check": "vue-tsc --build"
|
||||||
"postversion": "git push && git push --tags"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pinia": "^3.0.1",
|
"pinia": "^3.0.1",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue