.gitlab-ci.yml 384 Bytes
Newer Older
Simon Volpert's avatar
ci  
Simon Volpert committed
1 2 3 4 5
build:
  image: omi-registry.e-technik.uni-ulm.de/sv/buildx:latest
  stage: build
  script:
    - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
Simon Volpert's avatar
Simon Volpert committed
6
    - docker buildx build --push --platform linux/arm64,linux/amd64,linux/arm/v7 --tag "$CI_REGISTRY_IMAGE" --tag "$CI_REGISTRY_IMAGE":"$CI_COMMIT_REF_NAME" .
Simon Volpert's avatar
ci  
Simon Volpert committed
7
    - docker manifest inspect "$CI_REGISTRY_IMAGE"