Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Alphafold3
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
RC Data Science
community-containers
Alphafold3
Commits
67ac69a9
Commit
67ac69a9
authored
5 months ago
by
Fortune Iriaye
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
9aa959ec
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#12207
failed with stage
Stage: build
in 1 minute and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-9
22 additions, 9 deletions
.gitlab-ci.yml
with
22 additions
and
9 deletions
.gitlab-ci.yml
+
22
−
9
View file @
67ac69a9
default
:
image
:
docker:26.0.1
-dind
image
:
docker:26.0.1
stages
:
-
build
...
...
@@ -7,17 +7,30 @@ stages:
variables
:
PACKAGE_NAME
:
"
alphafold"
DOCKER_IMAGE
:
"
$CI_REGISTRY_IMAGE/$PACKAGE_NAME"
DOCKER_TLS_CERTDIR
:
"
/certs"
before_script
:
-
unset DOCKER_HOST
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
DOCKER_TLS_CERTDIR
:
"
"
DOCKER_HOST
:
tcp://docker:2375
DOCKER_DRIVER
:
overlay2
DOCKER_BUILDKIT
:
1
# Enable BuildKit for efficient builds
push_docker_image
:
stage
:
build
image
:
docker:26.0.1-dind
image
:
docker:26.0.1
services
:
-
name
:
docker:26.0.1-dind
alias
:
docker
command
:
-
"
--dns=8.8.8.8"
-
"
--dns=8.8.4.4"
-
"
--storage-driver=overlay2"
-
"
--default-ulimit=memlock=-1"
before_script
:
# Use a temporary Docker config directory
-
export DOCKER_CONFIG=$(mktemp -d)
# Securely log in to Docker registry
-
echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
script
:
-
docker build -t $DOCKER_IMAGE:$CI_COMMIT_SHORT_SHA -f docker/Dockerfile .
# Build the Docker image with increased memory and CPU
-
docker build --memory=8g --cpus=4 -t $DOCKER_IMAGE:$CI_COMMIT_SHORT_SHA -f docker/Dockerfile .
-
docker push $DOCKER_IMAGE:$CI_COMMIT_SHORT_SHA
only
:
-
main
#
Only run
on the main branch
-
main
#
Run only
on the main branch
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