Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Storage presentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Disappointment industries™
Storage presentation
Commits
32b58412
Commit
32b58412
authored
2 years ago
by
Tóth Miklós Tibor
Browse files
Options
Downloads
Patches
Plain Diff
Dockerize
parent
4e028c87
No related branches found
No related tags found
No related merge requests found
Pipeline
#38859
failed
2 years ago
Stage: 🔨
Stage: 📦
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
.gitlab-ci.yml
+29
-0
29 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+4
-0
4 additions, 0 deletions
Dockerfile
with
34 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
32b58412
.idea
.idea
.vscode
.vscode
.vs
.vs
prez.html
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
0 → 100644
+
29
−
0
View file @
32b58412
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}"
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
4
−
0
View file @
32b58412
FROM
nginx:latest
COPY
prez.html /usr/share/nginx/html/index.html
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment