Skip to content
Snippets Groups Projects
Commit bf0c689b authored by Markus Ostermayer's avatar Markus Ostermayer
Browse files

reverted dind changed

parent ebc4843c
No related branches found
No related tags found
No related merge requests found
Pipeline #189881 passed
image: r.j3ss.co/img:latest
image: docker:20.10.10
build-image:
stage: build
variables:
IMAGE_NAME: "os-sweb-buildimage"
IMAGE_TAG: $CI_REGISTRY_IMAGE/$IMAGE_NAME:latest
services:
- docker:20.10.10-dind
script:
- img login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- img build -t $IMAGE_TAG .
- img push $IMAGE_TAG
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG
rules:
- if: $CI_COMMIT_BRANCH == "main"
changes:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment