# Base runtimeimage:docker:latest# Docker as a serviceservices:-docker:dind# Stages declaration (add names as required)stages:-pack# Pack stage (docker build)pack:
stage:packscript:# Login to the registry. the variable is automatically set, build and push-TS=$(date +%Y%m%d%H%M)-docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY