forked from tkjsmkn2bandung/step-in-a-box
/
wercker.yml
33 lines (33 loc) · 813 Bytes
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
build:
box:
id: alpine
cmd: /bin/sh
steps:
- script:
name: install apk packages
code: |
apk update && apk add ca-certificates openssh curl jq
- script:
name: move scripts
code: |
mv init.sh /
mv run.sh /
- script:
name: test
code: |
mkdir -p /workspace
cd /workspace
echo "truth" > foo.template
/run.sh wercker/bash-template /workspace
rm -rf /workspace
- script:
name: prune
code: |
rm -rf /pipeline
- internal/docker-push:
repository: quay.io/wercker/step-in-a-box
username: $DOCKER_USERNAME
password: $DOCKER_PASSWORD
registry: https://quay.io
entrypoint: /run.sh
tag: latest