Start build of container
This commit is contained in:
parent
dafb3cbeb1
commit
4c04880c91
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:
|
||||
type: registry-image
|
||||
source:
|
||||
repository: quay.io/blasthavers/deploy-base
|
||||
repository: quay.io/buildah/stable
|
||||
inputs:
|
||||
- name: wwpapp
|
||||
- name: wwp-repo
|
||||
params:
|
||||
DEPLOY_KEY: ((deploy_key))
|
||||
CONTAINER_REGISTRY_KEY: ((container_registry_key))
|
||||
run:
|
||||
path: wwp-repo/.ci/deploy
|
||||
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