Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BamBirds
Testing
Commits
2046dba1
Commit
2046dba1
authored
Aug 03, 2021
by
Felix Haase
Browse files
publish to gitlab registry
parent
c075aac1
Pipeline
#1023
failed with stage
in 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2046dba1
...
...
@@ -37,11 +37,12 @@ variables:
services
:
-
docker:19.03-dind
before_script
:
-
docker
version
-
docker login -u "$
DOCKER_HUB
_USER" -p "$
DOCKER_HUB
_PASSWORD" $
DOCKER_HUB
-
docker
info
-
docker login -u "$
CI_REGISTRY
_USER" -p "$
CI_REGISTRY
_PASSWORD" $
CI_REGISTRY
script
:
-
docker build -t unibasme/bambirds-testing:$VERSION .
-
docker push unibasme/bambirds-testing:$VERSION
-
docker build --pull -t "$IMAGE_NAME:$IMAGE_TAG" .
-
docker push "$IMAGE_NAME:$IMAGE_TAG"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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