Commit 49027ff2 authored by Michael Neuendorf's avatar Michael Neuendorf
Browse files

Update .gitlab-ci.yml file

parent f07c83d0
Pipeline #52702 passed with stage
in 16 seconds
......@@ -12,7 +12,7 @@ build:
- export MINOR_VERSION=${PATCH_VERSION%.*}
- export MAJOR_VERSION=${MINOR_VERSION%.*}
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --customPlatform linux/amd64 --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:latest --destination $CI_REGISTRY_IMAGE:$PATCH_VERSION --destination $CI_REGISTRY_IMAGE:$MINOR_VERSION --destination $CI_REGISTRY_IMAGE:$MAJOR_VERSION
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:latest --destination $CI_REGISTRY_IMAGE:$PATCH_VERSION --destination $CI_REGISTRY_IMAGE:$MINOR_VERSION --destination $CI_REGISTRY_IMAGE:$MAJOR_VERSION
only:
- master
except:
......@@ -30,7 +30,7 @@ buildarm:
- export MINOR_VERSION=${PATCH_VERSION%.*}
- export MAJOR_VERSION=${MINOR_VERSION%.*}
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --customPlatform linux/arm64 --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:latest --destination $CI_REGISTRY_IMAGE:$PATCH_VERSION --destination $CI_REGISTRY_IMAGE:$MINOR_VERSION --destination $CI_REGISTRY_IMAGE:$MAJOR_VERSION
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:latest-arm64 --destination $CI_REGISTRY_IMAGE:$PATCH_VERSION-arm64 --destination $CI_REGISTRY_IMAGE:$MINOR_VERSION-arm64 --destination $CI_REGISTRY_IMAGE:$MAJOR_VERSION-arm64
only:
- master
except:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment