Skip to content
Snippets Groups Projects
Unverified Commit fc4befee authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Build Docker image in CI

parent 30f5b8c2
No related branches found
No related tags found
No related merge requests found
Pipeline #179359 failed
image: alpine:latest
image: quay.io/buildah/stable:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
stage: deploy
default:
before_script:
- apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ zola
- apk add yarn
- yarn install
- buildah login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
build:
script:
- zola build
- cp _redirects public/
artifacts:
paths:
- public/
only:
- master
- buildah bud -t teckids.org:latest
interruptible: true
retry: 1
deploy:
script:
- buildah push
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment