Newer
Older
variables:
STORAGE_DRIVER: vfs
BUILDAH_FORMAT: docker
BUILDAH_ISOLATION: chroot
- buildah bud -t teckids.org:latest
interruptible: true
retry: 1
build pages:
stage: build
before_script:
- apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ zola
- apk add yarn
- yarn install
script:
- zola build
- cp _redirects public/
artifacts:
paths:
- public/
only:
- master
push docker image:
before_script:
- buildah login -u "$CI_REGISTRY_USER" --password $CI_REGISTRY_PASSWORD $CI_REGISTRY