10 Commits

Author SHA1 Message Date
0533868bf8 Update to Alpine 3.23.3 base image (Apache 2.4.66)
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline failed
2026-01-29 23:29:42 -08:00
7789e0054a Use docker-tags plugin for flexible image tagging
Add generate-tags step with branch, sha, edge, build number, and
semver tag formats. Enable tag events for release workflows.
2026-01-29 23:27:28 -08:00
8621903d19 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 23:01:02 -08:00
20a5c7cdaa Alpine 3.22.0 (Apache 2.4.63-r4)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
also add apache2-http2 and apache2-brotli
2025-06-19 18:20:53 -07:00
fc0b8cfbea Alpine 3.20.2 (Apache 2.4.62-r0)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-08-22 00:27:22 -07:00
5a064a882a Alpine 3.19.1 (same apache version)
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-08 21:55:23 -08:00
b2369ba59c Alpine 3.19.0 (Apache 2.4.58-r1)
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-16 12:08:33 -08:00
e6b4191542 Check for ready file every 5 seconds instead of every 10
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-15 20:32:24 -07:00
35ebb8599c Alpine 3.17.3 (Apache 2.4.56)
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-07 01:22:25 -07:00
bedfc5d3d6 Alpine 3.17.0 (Apache 2.4.54)
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-07 00:22:20 -08:00
4 changed files with 30 additions and 22 deletions

View File

@@ -1,19 +0,0 @@
kind: pipeline
type: kubernetes
name: default
steps:
- name: docker
image: harbor.ntppool.org/ntppool/drone-kaniko:main
pull: always
settings:
dockerfile: Dockerfile
repo: library/static-web
registry: harbor.ntppool.org
auto_tag: true
tags: SHA7,${DRONE_SOURCE_BRANCH}
cache: true
username:
from_secret: harbor_library_username
password:
from_secret: harbor_library_password

27
.woodpecker.yaml Normal file
View File

@@ -0,0 +1,27 @@
when:
- event: [push, pull_request, manual, tag]
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
cache: true
username:
from_secret: harbor_library_username
password:
from_secret: harbor_library_password

View File

@@ -1,11 +1,11 @@
FROM harbor.ntppool.org/perlorg/base-os:3.15.0-1
FROM harbor.ntppool.org/perlorg/base-os:3.23.3
ENV BUILD_VERSION 1
USER root
WORKDIR /web
VOLUME /git
VOLUME /web/config
RUN apk --no-cache upgrade
RUN apk --no-cache add apache2 apache2-utils apache2-proxy apache2-ssl apr-util-dbd_sqlite3 sqlite
RUN apk --no-cache add apache2 apache2-utils apache2-proxy apache2-http2 apache2-brotli apache2-ssl apr-util-dbd_sqlite3 sqlite
#RUN mkdir /run/apache2; chown apache:apache /run/apache2
RUN mv /etc/apache2/conf.d/proxy.conf /etc/apache2/conf.d/proxy.conf.disabled
RUN ln -s /dev/stderr /var/log/apache2/error.log

View File

@@ -4,7 +4,7 @@ set -ex
if [ ! -z "$READY_FILE" ]; then
while [ ! -e $READY_FILE ]; do
echo waiting for $READY_FILE
sleep 10
sleep 5
done
fi