Skip to content

Commit 0112b27

Browse files
author
Sean Sundberg
committed
Adds image for cli-tools-core
Signed-off-by: Sean Sundberg <seansund@us.ibm.com>
1 parent ed6f61e commit 0112b27

29 files changed

Lines changed: 907 additions & 0 deletions

.github/release-drafter-lite.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name-template: 'v$RESOLVED_VERSION-lite'
2+
tag-template: 'v$RESOLVED_VERSION-lite'
3+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
4+
categories:
5+
- title: 'Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: 'Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: 'Maintenance'
15+
label: 'chore'
16+
version-resolver:
17+
major:
18+
labels:
19+
- 'major'
20+
minor:
21+
labels:
22+
- 'minor'
23+
patch:
24+
labels:
25+
- 'patch'
26+
default: patch
27+
template: |
28+
$CHANGES
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
4+
categories:
5+
- title: 'Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: 'Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: 'Maintenance'
15+
label: 'chore'
16+
version-resolver:
17+
major:
18+
labels:
19+
- 'major'
20+
minor:
21+
labels:
22+
- 'minor'
23+
patch:
24+
labels:
25+
- 'patch'
26+
default: patch
27+
template: |
28+
$CHANGES

.github/release-drafter-v0.14.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name-template: 'v$RESOLVED_VERSION-v0.14'
2+
tag-template: 'v$RESOLVED_VERSION-v0.14'
3+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
4+
categories:
5+
- title: 'Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: 'Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: 'Maintenance'
15+
label: 'chore'
16+
version-resolver:
17+
major:
18+
labels:
19+
- 'major'
20+
minor:
21+
labels:
22+
- 'minor'
23+
patch:
24+
labels:
25+
- 'patch'
26+
default: patch
27+
template: |
28+
$CHANGES

.github/release-drafter-v0.15.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name-template: 'v$RESOLVED_VERSION-v0.15'
2+
tag-template: 'v$RESOLVED_VERSION-v0.15'
3+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
4+
categories:
5+
- title: 'Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: 'Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: 'Maintenance'
15+
label: 'chore'
16+
version-resolver:
17+
major:
18+
labels:
19+
- 'major'
20+
minor:
21+
labels:
22+
- 'minor'
23+
patch:
24+
labels:
25+
- 'patch'
26+
default: patch
27+
template: |
28+
$CHANGES

.github/release-drafter-v1.0.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name-template: 'v$RESOLVED_VERSION-v1.0'
2+
tag-template: 'v$RESOLVED_VERSION-v1.0'
3+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
4+
categories:
5+
- title: 'Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: 'Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: 'Maintenance'
15+
label: 'chore'
16+
version-resolver:
17+
major:
18+
labels:
19+
- 'major'
20+
minor:
21+
labels:
22+
- 'minor'
23+
patch:
24+
labels:
25+
- 'patch'
26+
default: patch
27+
template: |
28+
$CHANGES

.github/release-drafter-v1.1.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name-template: 'terraform v1.1: v$RESOLVED_VERSION'
2+
tag-template: 'v1.1-v$RESOLVED_VERSION'
3+
tag-prefix: 'v1.1-'
4+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
5+
categories:
6+
- title: 'Features'
7+
labels:
8+
- 'feature'
9+
- 'enhancement'
10+
- title: 'Bug Fixes'
11+
labels:
12+
- 'fix'
13+
- 'bugfix'
14+
- 'bug'
15+
- title: 'Maintenance'
16+
label: 'chore'
17+
version-resolver:
18+
major:
19+
labels:
20+
- 'major'
21+
minor:
22+
labels:
23+
- 'minor'
24+
patch:
25+
labels:
26+
- 'patch'
27+
default: patch
28+
template: |
29+
$CHANGES

.github/release-drafter-v1.2.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name-template: 'terraform v1.2: v$RESOLVED_VERSION'
2+
tag-template: 'v1.2-v$RESOLVED_VERSION'
3+
tag-prefix: 'v1.2-'
4+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
5+
categories:
6+
- title: 'Features'
7+
labels:
8+
- 'feature'
9+
- 'enhancement'
10+
- title: 'Bug Fixes'
11+
labels:
12+
- 'fix'
13+
- 'bugfix'
14+
- 'bug'
15+
- title: 'Maintenance'
16+
label: 'chore'
17+
version-resolver:
18+
major:
19+
labels:
20+
- 'major'
21+
minor:
22+
labels:
23+
- 'minor'
24+
patch:
25+
labels:
26+
- 'patch'
27+
default: patch
28+
template: |
29+
$CHANGES

.github/release-drafter-v13.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name-template: 'v$RESOLVED_VERSION-v13'
2+
tag-template: 'v$RESOLVED_VERSION-v13'
3+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
4+
categories:
5+
- title: 'Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: 'Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: 'Maintenance'
15+
label: 'chore'
16+
version-resolver:
17+
major:
18+
labels:
19+
- 'major'
20+
minor:
21+
labels:
22+
- 'minor'
23+
patch:
24+
labels:
25+
- 'patch'
26+
default: patch
27+
template: |
28+
$CHANGES

.github/release-drafter-v14.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name-template: 'v$RESOLVED_VERSION-v14'
2+
tag-template: 'v$RESOLVED_VERSION-v14'
3+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
4+
categories:
5+
- title: 'Features'
6+
labels:
7+
- 'feature'
8+
- 'enhancement'
9+
- title: 'Bug Fixes'
10+
labels:
11+
- 'fix'
12+
- 'bugfix'
13+
- 'bug'
14+
- title: 'Maintenance'
15+
label: 'chore'
16+
version-resolver:
17+
major:
18+
labels:
19+
- 'major'
20+
minor:
21+
labels:
22+
- 'minor'
23+
patch:
24+
labels:
25+
- 'patch'
26+
default: patch
27+
template: |
28+
$CHANGES
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Docker build
2+
3+
# Controls when the workflow will run
4+
on:
5+
push:
6+
branches:
7+
- 'v*.*'
8+
release:
9+
types:
10+
- published
11+
pull_request:
12+
branches:
13+
- 'v*.*'
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v3
21+
22+
- name: Set up QEMU
23+
uses: docker/setup-qemu-action@v2
24+
25+
- name: Set up Docker Buildx
26+
id: buildx
27+
uses: docker/setup-buildx-action@v2
28+
29+
- name: Login to Docker Hub
30+
uses: docker/login-action@v2
31+
with:
32+
username: ${{ secrets.DOCKER_USER }}
33+
password: ${{ secrets.DOCKER_TOKEN }}
34+
35+
- name: Login to CNTK Quay
36+
uses: docker/login-action@v2
37+
with:
38+
registry: quay.io
39+
username: ${{ secrets.QUAY_CNTK_USERNAME }}
40+
password: ${{ secrets.QUAY_CNTK_TOKEN }}
41+
42+
- name: Docker CNTK meta
43+
id: cntk-meta
44+
uses: docker/metadata-action@v4
45+
with:
46+
# list of Docker images to use as base name for tags
47+
images: |
48+
quay.io/cloudnativetoolkit/cli-tools-core
49+
# Docker tags based on the following events/attributes
50+
tags: |
51+
type=ref,event=tag
52+
type=ref,event=branch
53+
type=raw,value=latest,enable={{is_default_branch}}
54+
55+
- name: Build and push
56+
uses: docker/build-push-action@v3
57+
with:
58+
context: .
59+
push: ${{ github.event_name != 'pull_request' }}
60+
platforms: linux/amd64,linux/arm64
61+
tags: ${{ steps.cntk-meta.outputs.tags }}
62+
labels: ${{ steps.cntk-meta.outputs.labels }}

0 commit comments

Comments
 (0)