Skip to content

Commit aa729de

Browse files
committed
chore: make Dockerfile changes update fabric build
And make a dummy change in fabric to re-trigger it.
1 parent 31d94e5 commit aa729de

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/perper-fabric.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
paths:
66
- 'fabric/**'
7+
- 'docker/Dockerfile'
78
branches:
89
- master
910

@@ -13,13 +14,13 @@ jobs:
1314

1415
steps:
1516
- uses: actions/checkout@v2
16-
17+
1718
- name: Build the Docker image
1819
run: docker build . --file docker/Dockerfile --tag obecto/perper-fabric:latest --tag obecto/perper-fabric:$(sed -E -n 's|^\s*version\s*=\s*"([^"]+)"\s*$|\1|p' fabric/build.gradle.kts | head -1)
1920
shell: bash
20-
21+
2122
- name: Login to DockerHub
2223
run: docker login --username obecto --password ${{ secrets.DOCKER_HUB_TOKEN }}
23-
24+
2425
- name: Push to DockerHub
2526
run: docker push --all-tags obecto/perper-fabric

fabric/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ compileKotlin.kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
4646

4747
application {
4848
version = "0.7.1"
49-
mainClass.set("com.obecto.perper.fabric.Main")
5049
description = "Perper Fabric"
50+
mainClass.set("com.obecto.perper.fabric.Main")
5151
}
5252

5353
java {

0 commit comments

Comments
 (0)