Skip to content

Commit 216d16c

Browse files
feat: 👷 (#40) preparations for nice release workflow (#56)
* "test: ✅ (#40) add tests for the created docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "test: (#40) add test for docker images" * "test: (#40) add test for docker images" * "test: ✅ (#40) add test for docker images" * "feat: 🚧 (#40) some preparation for a release workflow"
1 parent e07b48b commit 216d16c

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
tag:
7+
description: 'The docker image tag'
8+
required: true
9+
type: string
10+
default: v0.2.8-alpha-amd64
11+
12+
jobs:
13+
call-ci-go:
14+
uses: ./.github/workflows/ci_go.yml
15+
call-lint:
16+
uses: ./.github/workflows/lint.yml
17+
call-test-docker-images:
18+
needs:
19+
- call-ci-go
20+
- call-lint
21+
uses: ./.github/workflows/ci_go.yml
22+
with:
23+
tag: ${{ inputs.tag }}

.github/workflows/release_go.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
# # run only against tags
66
# tags:
77
# - v*.*.*
8+
workflow_dispatch:
89
release:
910
types: [ published ]
1011

.github/workflows/test_docker_images.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
on:
2+
workflow_call:
3+
inputs:
4+
tag:
5+
description: 'The docker image tag'
6+
required: true
7+
type: string
28
workflow_dispatch:
39
inputs:
410
tag:

0 commit comments

Comments
 (0)