Initial commit
This commit is contained in:
commit
07294453b2
6 files changed
+75
No files matched your search
@@ -0,0 +1,11 @@
|
||||
build_cli:
|
||||
stage: base
|
||||
script:
|
||||
- buildah info
|
||||
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:cli -f tools/coder-cli/Dockerfile .
|
||||
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
|
||||
- buildah push ${FQ_IMAGE_NAME}:cli
|
||||
rules:
|
||||
- changes:
|
||||
- tools/coder-cli/**
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
@@ -0,0 +1,6 @@
|
||||
FROM alpine:latest@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412
|
||||
|
||||
RUN apk add --no-cache curl sed
|
||||
RUN curl -fsSL https://coder.com/install.sh | sh
|
||||
|
||||
ENTRYPOINT []
|
||||
Reference in new issue
Block a user