Skip to content

Commit 8a4fcf7

Browse files
Added github workflow
1 parent c7d0502 commit 8a4fcf7

File tree

4 files changed

+87
-0
lines changed

4 files changed

+87
-0
lines changed

Diff for: .github/workflows/ci-unwelcome-words.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
ref: ${{ github.sha }}
13+
- name: Checkout tool
14+
uses: actions/checkout@v3
15+
with:
16+
repository: exactpro-th2/ci-github-action
17+
ref: master
18+
token: ${{ secrets.PAT_CI_ACTION }}
19+
path: ci-github-action
20+
- name: Run CI action
21+
uses: ./ci-github-action
22+
with:
23+
ref: ${{ github.sha }}

Diff for: .github/workflows/dev-java-publish-docker.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Dev build and publish Docker image
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- master
7+
- version-*
8+
- dependabot*
9+
paths-ignore:
10+
- README.md
11+
# paths:
12+
# - gradle.properties
13+
14+
jobs:
15+
build-job:
16+
uses: th2-net/.github/.github/workflows/compound-java-dev.yml@main
17+
with:
18+
build-target: 'Docker'
19+
runsOn: ubuntu-latest
20+
gradleVersion: '7'
21+
docker-username: ${{ github.actor }}
22+
secrets:
23+
docker-password: ${{ secrets.GITHUB_TOKEN }}
24+
25+
26+
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build and release Docker image.
2+
3+
on:
4+
push:
5+
tags:
6+
- \d+.\d+.\d+-dev
7+
8+
jobs:
9+
build:
10+
uses: th2-net/.github/.github/workflows/compound-java.yml@main
11+
with:
12+
build-target: 'Docker'
13+
runsOn: ubuntu-latest
14+
gradleVersion: '7'
15+
docker-username: ${{ github.actor }}
16+
devRelease: true
17+
secrets:
18+
docker-password: ${{ secrets.GITHUB_TOKEN }}

Diff for: .github/workflows/java-publish-docker.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build and release Docker image.
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- version-*
8+
paths:
9+
- gradle.properties
10+
11+
jobs:
12+
build:
13+
uses: th2-net/.github/.github/workflows/compound-java.yml@main
14+
with:
15+
build-target: 'Docker'
16+
runsOn: ubuntu-latest
17+
gradleVersion: '7'
18+
docker-username: ${{ github.actor }}
19+
secrets:
20+
docker-password: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)