Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KM3NeT Rucio Containers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Rucio
KM3NeT Rucio Containers
Commits
3ae704cd
Commit
3ae704cd
authored
5 months ago
by
Victor Azizi
Browse files
Options
Downloads
Patches
Plain Diff
tag fix
parent
bf23274b
Loading
Loading
1 merge request
!4
Build sif
Pipeline
#54520
passed
5 months ago
Stage: docker
Stage: apptainer
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/upload_sif.sh
+3
-3
3 additions, 3 deletions
.ci/upload_sif.sh
with
3 additions
and
3 deletions
.ci/upload_sif.sh
+
3
−
3
View file @
3ae704cd
#!/bin/env sh
set
-e
apptainer registry login
-u
"
$CI_REGISTRY_USER
"
-p
"
$CI_REGISTRY_PASSWORD
"
$CI_REGISTRY
apptainer registry login
-u
"
$CI_REGISTRY_USER
"
-p
"
$CI_REGISTRY_PASSWORD
"
"oras://
$CI_REGISTRY
"
for
_x
in
containers/
*
/.build_sif
;
do
image_dir
=
$(
dirname
"
$_x
"
)
...
...
@@ -14,9 +14,9 @@ for _x in containers/*/.build_sif; do
image_version
=
"
$CI_COMMIT_REF_SLUG
"
fi
image_version
=
"
${
image_version
}
"
image_tag
=
"
$CI_REGISTRY_IMAGE
/
${
image_name
}
:
${
image_version
}
_sif"
image_tag
=
"
oras://
$CI_REGISTRY_IMAGE
/
${
image_name
}
:
${
image_version
}
_sif"
echo
"Uploading SIF file"
apptainer push
"sif_images/
${
image_name
}
.sif"
oras://
$image_tag
apptainer push
"sif_images/
${
image_name
}
.sif"
$image_tag
done
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