2 Commits

Author SHA1 Message Date
6fd7ab8c70 Update to Alpine 3.23.3 base image (Apache 2.4.66) 2026-01-28 22:54:11 -08:00
137199165f Migrate from Drone CI to Woodpecker CI
Replace .drone.yml with .woodpecker.yaml using official
woodpeckerci/plugin-kaniko image. Update base image to Alpine 3.22.2.
2026-01-28 22:52:49 -08:00
2 changed files with 5 additions and 29 deletions

View File

@@ -1,25 +1,17 @@
when:
- event: [push, pull_request, manual, tag]
- event: [push, pull_request, manual]
steps:
- name: generate-tags
image: ghcr.io/abh/woodpecker-docker-tags-plugin:sha-86e52ce
settings:
tags: |
branch
sha
edge
raw -v build-${CI_PIPELINE_NUMBER}
semver --format {{major}}
semver --format {{major}}.{{minor}}
semver --format {{major}}.{{minor}}.{{patch}}
- name: docker
image: woodpeckerci/plugin-kaniko
settings:
dockerfile: Dockerfile
registry: harbor.ntppool.org
repo: library/static-web
tags:
- ${CI_COMMIT_SHA:0:7}
- ${CI_COMMIT_BRANCH}
- ${{ CI_COMMIT_BRANCH == 'main' && 'latest' || CI_COMMIT_BRANCH }}
cache: true
username:
from_secret: harbor_library_username

View File

@@ -19,22 +19,6 @@ To get a shell in the container run
And then run `curl -H 'Host: i.perl.org' localhost` there.
## Logging
Access logs are sent to stdout and error logs to stderr, making them
available to the container runtime's log collection.
The Apache configuration supports a `dontlog` environment variable. When
set on a request, that request is excluded from the access log. This is
useful for health check endpoints that would otherwise fill the logs.
To use it, add a `SetEnvIf` directive in your site configuration:
SetEnvIf Request_URI "^/ok.txt$" dontlog
This allows `/ok.txt` to serve as a health check endpoint without
generating access log entries.
## Production image
The "production image" is at harbor.ntppool.org/library/static-web:latest