Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mozilla
WebCompat Interventions Dashboard
Commits
c345b6a9
Verified
Commit
c345b6a9
authored
Sep 07, 2021
by
Dennis Schubert
Browse files
Add CI config.
parent
666bda99
Pipeline
#491
failed with stage
in 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
c345b6a9
image
:
docker:latest
services
:
-
docker:dind
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-backend
:
stage
:
build
script
:
-
docker build --pull -f _deployment/Dockerfile.node -t "$CI_REGISTRY_IMAGE/backend" .
-
docker push "$CI_REGISTRY_IMAGE/backend"
only
:
-
main
build-nginx
:
stage
:
build
script
:
-
docker build --pull -f _deployment/Dockerfile.nginx -t "$CI_REGISTRY_IMAGE/nginx" .
-
docker push "$CI_REGISTRY_IMAGE/nginx"
only
:
-
main
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment