Skip to content
Snippets Groups Projects
Commit bad32cc3 authored by Quang tru HUYNH's avatar Quang tru HUYNH
Browse files

fix CI

parent 69ec1d7b
No related branches found
No related tags found
No related merge requests found
Pipeline #99011 failed
......@@ -13,15 +13,15 @@ docker:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA" -t "$CI_REGISTRY_IMAGE:latest" -t "$CI_REGISTRY_IMAGE:$MY_TIME" . -f Dockerfile
- docker push "$CI_REGISTRY_IMAGE"
singularity:
stage: build-singularity
image:
name: quay.io/singularity/singularity:v3.11.0
entrypoint: [""]
script:
- singularity build singularity.sif Singularity
- ls -lh singularity.sif
- singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" singularity.sif oras://"$CI_REGISTRY_IMAGE":latest
artifacts:
paths:
- singularity.sif
#singularity:
# stage: build
# image:
# name: quay.io/singularity/singularity:v3.11.0
# entrypoint: [""]
# script:
# - singularity build singularity.sif Singularity
# - ls -lh singularity.sif
# - singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" singularity.sif oras://"$CI_REGISTRY_IMAGE":latest
# artifacts:
# paths:
# - singularity.sif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment