Add docker image + ci job
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
002a367c8a
commit
9d6d1063b9
3 changed files with 23 additions and 0 deletions
4
.dockerignore
Normal file
4
.dockerignore
Normal file
|
@ -0,0 +1,4 @@
|
|||
.git
|
||||
README.md
|
||||
Dockerfile
|
||||
|
17
.woodpecker.yaml
Normal file
17
.woodpecker.yaml
Normal 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
2
Dockerfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
FROM ghcr.io/static-web-server/static-web-server:2.27
|
||||
COPY . /public
|
Loading…
Reference in a new issue