I have a dockerized app I want to host on Gitlab Pages.
I have a build step
docker-build:
stage: docker-build
image: docker:latest
services:
- name: docker:dind
before_script:
- echo $CI_BUILD_TOKEN | docker login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
- echo "Registry image:" $CI_REGISTRY_IMAGE
which is fine, but is it possible now to deploy to pages? I tried to create a pages stage to pull container again, push and run, but pages are not even created, I understand there must be a public folder created during the pages stage , but it didn`t help. Now I wonder if it is even possible.