stages: - build - upload build: stage: build script: - cd latest - docker build --no-cache -t luki42/latex-full:latest . upload: stage: upload script: - docker push luki42/latex-full:latest build_full: stage: build script: - cd static - docker build --no-cache -t luki42/latex-full:static . when: manual