Compare commits
No commits in common. "main" and "v0.1.8" have entirely different histories.
4 changed files with 23 additions and 28 deletions
|
@ -2,8 +2,8 @@ when:
|
|||
- event: manual
|
||||
- event: tag
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
#depends_on:
|
||||
#- test
|
||||
|
||||
steps:
|
||||
npm:
|
||||
|
@ -21,10 +21,7 @@ steps:
|
|||
build_publish:
|
||||
image: quay.io/podman/stable:latest
|
||||
# Caution: This image is built daily. It might fill up your image store quickly.
|
||||
#pull: true
|
||||
volumes:
|
||||
- containers:/var/lib/containers
|
||||
- pnpm:/root/.local/share/pnpm
|
||||
pull: true
|
||||
# Fill in the trusted checkbox in Woodpecker's settings as well
|
||||
privileged: true
|
||||
environment:
|
||||
|
@ -37,7 +34,22 @@ steps:
|
|||
# Login at the registry
|
||||
- podman login -u __token__ --password $registry_token $registry
|
||||
# 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/agent-containers:/var/lib/containers:Z --tag $registry/$org/$container_name:latest --tag $registry/$org/$container_name:$CI_COMMIT_TAG .
|
||||
# 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:$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
|
||||
|
||||
[](https://code.philo.ydns.eu/woodpecker/repos/9)
|
||||
|
||||
This is a sandbox for building packages (npm and container) with Woodpecker CI.
|
||||
[](https://code.philo.ydns.eu/woodpecker/repos/6)
|
||||
|
||||
This is a sansbox for building packages (npm and container) with Woodpecker CI.
|
|
@ -1,13 +1,12 @@
|
|||
{
|
||||
"name": "test-woodpecker-webapp",
|
||||
"version": "0.5.17",
|
||||
"version": "0.1.8",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "run-p type-check \"build-only {@}\" --",
|
||||
"preview": "vite preview",
|
||||
"build-only": "vite build",
|
||||
"type-check": "vue-tsc --build",
|
||||
"postversion": "git push && git push --tags"
|
||||
"type-check": "vue-tsc --build"
|
||||
},
|
||||
"dependencies": {
|
||||
"pinia": "^3.0.1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue