|
|
|
|
@ -27,6 +27,7 @@ build-dev: # This job runs in the build stage, which runs first.
|
|
|
|
|
#- docker login -u $CI_DEPLOY_USER -p $CI_DEPLOY_PASSWORD $CI_REGISTRY
|
|
|
|
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
|
|
|
|
- docker buildx build --no-cache -f docker-configs/Dockerfile-ci -t hacknix/freedmr:development-latest -t $CI_REGISTRY/hacknix/freedmr:development-latest --platform linux/arm/v7,linux/amd64,linux/i386,linux/arm64 --push .
|
|
|
|
|
- docker logout
|
|
|
|
|
# - docker buildx build --no-cache -f docker-configs/Dockerfile-ci -t hacknix/freedmr:development-latest -t $CI_REGISTRY/hacknix/freedmr:development-latest --platform linux/amd64,linux/i386 --push .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -54,6 +55,7 @@ build-testing: # This job runs in the build stage, which runs first.
|
|
|
|
|
- echo "Compiling the code..."
|
|
|
|
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
|
|
|
|
- docker buildx build --no-cache -f docker-configs/Dockerfile-ci -t gitlab.hacknix.net:5050/hacknix/freedmr:testing --platform linux/amd64 --push .
|
|
|
|
|
- docker logut
|
|
|
|
|
only:
|
|
|
|
|
- testing
|
|
|
|
|
|
|
|
|
|
|