-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TH2-5045] Migrate to th2 transport and versions update (#71)
* [TH2-5045] Update Gradle version * [TH2-5045] Update gradle plugin versions. Add license check and git info to VERSION file * [TH2-5045] Add dev-release workflow on tag push * [TH2-5045] Use BOM to override deps with vulnerabilities * Disable fail-fast for martix build
- Loading branch information
1 parent
fd72e46
commit c5f44ef
Showing
6 changed files
with
116 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Build and publish Docker dev-release distributions to Github Container Registry ghcr.io | ||
|
||
on: | ||
push: | ||
tags: | ||
- \d+.\d+.\d+-dev | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false # because the OWASP scan that fails and cancels parallel runs | ||
matrix: | ||
project: | ||
- conn-fix | ||
- conn-ntg | ||
- conn-soup | ||
uses: th2-net/.github/.github/workflows/matrix-java-docker.yml@main | ||
with: | ||
runsOn: ubuntu-20.04 | ||
projectName: ${{ matrix.project }} | ||
build-target: 'Docker' | ||
docker-username: ${{ github.actor }} | ||
devRelease: true | ||
secrets: | ||
docker-password: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM gradle:6.6-jdk11 AS build | ||
FROM gradle:7.6-jdk11 AS build | ||
COPY ./ . | ||
RUN gradle --no-daemon clean dockerPrepare | ||
|
||
FROM ghcr.io/th2-net/th2-conn-sailfish:4.0.0-dev-version-4-4113294770-6d25069 | ||
FROM ghcr.io/th2-net/th2-conn-sailfish:4.0.0-dev | ||
ARG project_name | ||
WORKDIR /home | ||
COPY --from=build /home/gradle/${project_name}/build/docker . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters