Skip to content
Snippets Groups Projects
Commit 32b58412 authored by Tóth Miklós Tibor's avatar Tóth Miklós Tibor :shrug:
Browse files

Dockerize

parent 4e028c87
No related branches found
No related tags found
No related merge requests found
Pipeline #38859 failed
.idea .idea
.vscode .vscode
.vs .vs
prez.html
stages:
- 🔨
- 📦
-
marp build:
stage: 🔨
image: marpteam/marp-cli:v2.1.3
script:
- marp --html prez.md
container image:
stage: 📦
image: registry.gitlab.com/disappointment-industries/container-images/buildah-image:latest
variables:
CI_REGISTRY_IMAGE: docker.io/miketth/storage-prez
before_script:
- export STORAGE_DRIVER=vfs
- export _BUILDAH_STARTED_IN_USERNS=""
- export BUILDAH_ISOLATION=chroot
- export REGISTRY_AUTH_FILE=${HOME}/auth.json
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
script:
- buildah manifest create prez
- cp prez-amd64 prez
- buildah bud --tag "${CI_REGISTRY_IMAGE}:amd64" --manifest prez --arch amd64 .
- cp prez-arm64 prez
- buildah bud --tag "${CI_REGISTRY_IMAGE}:arm64" --manifest prez --arch arm64 .
- buildah manifest push --all prez docker://"${CI_REGISTRY_IMAGE}"
FROM nginx:latest
COPY prez.html /usr/share/nginx/html/index.html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment