Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
953e4acd15
commit
c87f36cd45
2 changed files with 10 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: bash
|
||||
build-image:
|
||||
image: docker
|
||||
commands:
|
||||
- echo "Hello World 2!"
|
||||
- cd "src/website"
|
||||
- docker login -u "${REGISTRY_USER}" -p "${REGISTRY_TOKEN}" registry.gitlab.com
|
||||
- docker build -t registry.gitlab.com/severinkaderli/registry:magsend-website .
|
||||
- docker push registry.gitlab.com/severinkaderli/registry:magsend-website
|
||||
secrets: [REGISTRY_USER, REGISTRY_TOKEN]
|
||||
|
|
3
src/website/Dockerfile
Normal file
3
src/website/Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM registry.gitlab.com/severinkaderli/nginx-docker:master
|
||||
|
||||
COPY index.html styles/ scripts/ /usr/share/nginx/html
|
Reference in a new issue