fix(ci): rename build.yaml
This commit is contained in:
parent
6c630fa980
commit
f8b56aa07a
1 changed files with 0 additions and 0 deletions
26
.gitlab/build.yaml
Normal file
26
.gitlab/build.yaml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
variables:
|
||||
STORAGE_DRIVER: "overlay"
|
||||
|
||||
stages:
|
||||
- "build"
|
||||
|
||||
image-build:
|
||||
stage: "image-build"
|
||||
image: "quay.io/buildah/stable:latest"
|
||||
script:
|
||||
|
||||
# login
|
||||
- "echo $CR_PASSWORD | buildah login -u $CR_USERNAME --password-stdin $CR_HOSTNAME"
|
||||
|
||||
# build image
|
||||
- "buildah bud -t docs-simoncor-net ."
|
||||
|
||||
# tag image
|
||||
- "buildah tag docs-simoncor-net cr.simoncor.net/siempie/docs-simoncor-net:latest"
|
||||
|
||||
# push image
|
||||
- "buildah push cr.simoncor.net/siempie/docs-simoncor-net:latest"
|
||||
|
||||
# logout
|
||||
- "buildah logout $CR_HOSTNAME"
|
||||
Loading…
Add table
Add a link
Reference in a new issue