Start build of container
This commit is contained in:
parent
dafb3cbeb1
commit
4c04880c91
@ -1,5 +1,3 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
|
9
.ci/deploy
Executable file
9
.ci/deploy
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
set -Eeuo pipefail
|
||||||
|
|
||||||
|
export HOME=$(pwd)
|
||||||
|
|
||||||
|
cd wwp-repo/container
|
||||||
|
buildah build -f Containerfile -t quay.io/blasthavers/worldwideportal:latest
|
||||||
|
echo "$CONTAINER_REGISTRY_KEY" | buildah login --password-stdin --username blasthavers quay.io
|
||||||
|
buildah push quay.io/blasthavers/worldwideportal:latest
|
@ -30,12 +30,12 @@ jobs:
|
|||||||
image_resource:
|
image_resource:
|
||||||
type: registry-image
|
type: registry-image
|
||||||
source:
|
source:
|
||||||
repository: quay.io/blasthavers/deploy-base
|
repository: quay.io/buildah/stable
|
||||||
inputs:
|
inputs:
|
||||||
- name: wwpapp
|
- name: wwpapp
|
||||||
- name: wwp-repo
|
- name: wwp-repo
|
||||||
params:
|
params:
|
||||||
DEPLOY_KEY: ((deploy_key))
|
CONTAINER_REGISTRY_KEY: ((container_registry_key))
|
||||||
run:
|
run:
|
||||||
path: wwp-repo/.ci/deploy
|
path: wwp-repo/.ci/deploy
|
||||||
resources:
|
resources:
|
||||||
|
2
container/Containerfile
Normal file
2
container/Containerfile
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
FROM debian:buster-slim
|
||||||
|
COPY ../../wwpapp /frontendstatic
|
Loading…
Reference in New Issue
Block a user