Add docker image + ci job
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Ada 2024-03-14 22:56:03 +01:00
parent 002a367c8a
commit 9d6d1063b9
3 changed files with 23 additions and 0 deletions

4
.dockerignore Normal file
View file

@ -0,0 +1,4 @@
.git
README.md
Dockerfile

17
.woodpecker.yaml Normal file
View file

@ -0,0 +1,17 @@
steps:
- name: publish_image
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.gnous.eu/${CI_REPO_OWNER}/maintenance
dockerfile: Dockerfile
platforms: linux/amd64
registry: https://git.gnous.eu
tag: ${CI_COMMIT}
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event: push

2
Dockerfile Normal file
View file

@ -0,0 +1,2 @@
FROM ghcr.io/static-web-server/static-web-server:2.27
COPY . /public