Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
James Alexander Clark PhD
research-projects-RIT
Commits
15a1721c
Commit
15a1721c
authored
Oct 24, 2022
by
James Alexander Clark PhD
Browse files
minor fixes to CI script
parent
4ec723fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
15a1721c
...
...
@@ -10,10 +10,13 @@ stages:
before_script
:
-
docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
build:
test
:
build:
$suffix
:
image
:
docker:latest
stage
:
build
script
:
-
suffix=$(echo $CI_COMMIT_BRANCH | cut -d "-" -f 2)
-
docker build --rm --no-cache -t $RIFT_IMAGE:$suffix --file Dockerfile .
-
docker push $RIFT_IMAGE:$suffix
only
:
changes
:
-
Dockerfile
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