-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmanifest-pack.yml
More file actions
59 lines (54 loc) · 1.3 KB
/
Copy pathmanifest-pack.yml
File metadata and controls
59 lines (54 loc) · 1.3 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
platform: linux/amd64
labels:
type: exec
pipeline:
- name: generate-manifest
image: bash
commands:
- sed -i "s/registry.drycc.cc/$${DRYCC_REGISTRY}/g" .woodpecker/manifest-run.tmpl
- sed -i "s/registry.drycc.cc/$${DRYCC_REGISTRY}/g" .woodpecker/manifest-build.tmpl
- sed -i "s/{{codename}}/bullseye/g" .woodpecker/manifest-run.tmpl
- sed -i "s/{{codename}}/bullseye/g" .woodpecker/manifest-build.tmpl
secrets:
- dev_registry
- drycc_registry
- container_username
- container_password
- name: publish-run-image
image: bash
commands:
- docker run --rm
-e PLUGIN_SPEC=.woodpecker/manifest-run.tmpl
-e PLUGIN_USERNAME=$CONTAINER_USERNAME
-e PLUGIN_PASSWORD=$CONTAINER_PASSWORD
-e DRONE_TAG=$CI_COMMIT_TAG
-v $(pwd):$(pwd)
-w $(pwd)
plugins/manifest
secrets:
- container_username
- container_password
when:
event:
- push
- tag
- name: publish-build-image
image: bash
commands:
- docker run --rm
-e PLUGIN_SPEC=.woodpecker/manifest-build.tmpl
-e PLUGIN_USERNAME=$CONTAINER_USERNAME
-e PLUGIN_PASSWORD=$CONTAINER_PASSWORD
-e DRONE_TAG=$CI_COMMIT_TAG
-v $(pwd):$(pwd)
-w $(pwd)
plugins/manifest
secrets:
- container_username
- container_password
when:
event:
- push
- tag
depends_on:
- build-linux-pack