Skip to content

Commit

Permalink
chore: make Dockerfile changes update fabric build
Browse files Browse the repository at this point in the history
And make a dummy change in fabric to re-trigger it.
  • Loading branch information
bojidar-bg committed Oct 29, 2021
1 parent 31d94e5 commit aa729de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/perper-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths:
- 'fabric/**'
- 'docker/Dockerfile'
branches:
- master

Expand All @@ -13,13 +14,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Build the Docker image
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)
shell: bash

- name: Login to DockerHub
run: docker login --username obecto --password ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Push to DockerHub
run: docker push --all-tags obecto/perper-fabric
2 changes: 1 addition & 1 deletion fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ compileKotlin.kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"

application {
version = "0.7.1"
mainClass.set("com.obecto.perper.fabric.Main")
description = "Perper Fabric"
mainClass.set("com.obecto.perper.fabric.Main")
}

java {
Expand Down

0 comments on commit aa729de

Please sign in to comment.