jakehurwitzisabitch/.gitlab-ci.yml
2024-01-18 04:36:30 -05:00

24 lines
455 B
YAML

image: docker:latest
services:
- name: docker:dind
alias: docker
variables:
DOCKER_DRIVER: overlay
stages:
- build
- deploy
artix-packy-pusher:
stage: build
script:
- docker build --pull --no-cache -t "$CI_REGISTRY_IMAGE" .
deploy:
stage: deploy
only:
- master
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push "$CI_REGISTRY_IMAGE"