Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.devtools
Commits
3e3574b7
Commit
3e3574b7
authored
2 years ago
by
André MAYORAZ
Browse files
Options
Downloads
Patches
Plain Diff
[ci] change command to podman
parent
33dd5944
No related branches found
No related tags found
No related merge requests found
Pipeline
#64024
failed with stages
Stage: build_image
Stage: push_image
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-18
5 additions, 18 deletions
.gitlab-ci.yml
with
5 additions
and
18 deletions
.gitlab-ci.yml
+
5
−
18
View file @
3e3574b7
...
...
@@ -26,33 +26,20 @@ build_image:
stage
:
build_image
image
:
name
:
quay.io/podman/stable
before_script
:
# - if [[ $CI_RUNNER_TAGS == *"docker,"* ]]; then git config --global --add safe.directory ${CI_PROJECT_DIR}; fi
# - ln -s /usr/bin/podman /usr/bin/docker
# - docker info
-
docker run --privileged
script
:
-
docker
build -
-tag
docker.idiap.ch/bob/bdt:latest .
-
podman
build -
t
docker.idiap.ch/bob/bdt:latest .
push_image
:
tags
:
-
docker
-
bob
image
:
docker:20.10.12
services
:
-
name
:
docker:dind
command
:
[
"
--tls=false"
]
variables
:
DOCKER_HOST
:
tcp://docker:2375/
DOCKER_DRIVER
:
overlay2
stage
:
push_image
image
:
name
:
quay.io/podman/stable
before_script
:
-
if [[ $CI_RUNNER_TAGS == *"docker,"* ]]; then git config --global --add safe.directory ${CI_PROJECT_DIR}; fi
-
docker info
-
podman login -u gitlab-ci-token -p "${CI_JOB_TOKEN}" docker.idiap.ch
script
:
-
echo ${CI_JOB_TOKEN} | docker login docker.idiap.ch -u gitlab-ci-token --password-stdin
-
docker push docker.idiap.ch/bob/bdt:latest
-
podman push docker.idiap.ch/bob/bdt:latest
## Build targets
#.build_template:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment