Compare commits

..

No commits in common. "main" and "v0.1.7" have entirely different histories.
main ... v0.1.7

4 changed files with 24 additions and 29 deletions

View file

@ -2,8 +2,8 @@ when:
- event: manual - event: manual
- event: tag - event: tag
depends_on: #depends_on:
- test #- test
steps: steps:
npm: npm:
@ -21,10 +21,7 @@ steps:
build_publish: build_publish:
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:
@ -37,7 +34,22 @@ steps:
# Login at the registry # Login at the registry
- podman login -u __token__ --password $registry_token $registry - podman login -u __token__ --password $registry_token $registry
# 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 --tag $registry/$org/$container_name:latest --tag $registry/$org/$container_name:$CI_COMMIT_SHA .
# 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_SHA
# 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

View file

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

View file

@ -1,6 +1,5 @@
# test-woodpecker-webapp # test-woodpecker-webapp
[![status-badge](https://code.philo.ydns.eu/woodpecker/api/badges/9/status.svg)](https://code.philo.ydns.eu/woodpecker/repos/9) [![status-badge](https://code.philo.ydns.eu/woodpecker/api/badges/6/status.svg)](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.

View file

@ -1,13 +1,12 @@
{ {
"name": "test-woodpecker-webapp", "name": "test-woodpecker-webapp",
"version": "0.5.17", "version": "0.1.7",
"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",