Update .gitlab-ci.yml file

This commit is contained in:
Aaron Riedel 2022-03-06 10:37:27 +00:00
parent 4849bafce3
commit bdcd2ba741

View file

@ -26,11 +26,6 @@ docker-build:
fi fi
- docker build --pull -t "$CI_REGISTRY_IMAGE${tag}" . - docker build --pull -t "$CI_REGISTRY_IMAGE${tag}" .
- docker push "$CI_REGISTRY_IMAGE${tag}" - docker push "$CI_REGISTRY_IMAGE${tag}"
# Run this job in a branch where a Dockerfile exists
rules:
- if: $CI_COMMIT_BRANCH
exists:
- Dockerfile
only: only:
- master - master
- dev - dev