diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..78d3b3b --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +LICENSE +README.md +DOCKERFILE +docker-compose.yml \ No newline at end of file diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..89c19e0 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,14 @@ +steps: + - publish: + image: woodpeckerci/plugin-docker-buildx + settings: + platforms: linux/amd64 + repo: git.hackmi.ch/hackmi.ch/home + registry: git.hackmi.ch + tags: latest + username: + from_secret: reg-user + password: + from_secret: reg-pass + when: + event: push \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6588213 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM nginx:alpine +RUN rm -rf /usr/share/nginx/html +RUN mkdir -p /usr/share/nginx/html +COPY . /usr/share/nginx/html/ \ No newline at end of file