Skip to content

Commit 66bfeba

Browse files
committed
publish docker workflow
1 parent e3d07b1 commit 66bfeba

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# CI with maven build and scan
2+
3+
name: CI docker build
4+
5+
on:
6+
# Trigger analysis when pushing in master or pull requests, and when creating
7+
# a pull request.
8+
push:
9+
branches:
10+
- develop
11+
release:
12+
types: [published]
13+
14+
jobs:
15+
build:
16+
name: Build
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: fugerit-org/psychic-actions/maven-container-publish@mcp
20+
with:
21+
github-token: ${{ secrets.GITHUB_TOKEN }}
22+
docker-file: './src/main/docker/Dockerfile.jvm'
23+
docker-platforms: linux/amd64,linux/arm64
24+
docker-tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{github.event.repository.name}}:${{ github.ref_name }},${{ secrets.DOCKERHUB_USERNAME }}/${{github.event.repository.name}}:latest
25+
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
26+
dockerhub-password: ${{ secrets.DOCKERHUB_TOKEN }}
27+

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- benchmark samples with Ryzen 3900X (thanks to [amusarra](https://github.com/amusarra))
13+
- publish docker workflow
1314

1415
### Changed
1516

0 commit comments

Comments
 (0)