Skip to content

Commit 98eee8d

Browse files
authored
Merge pull request #14 from bowtie-json-schema/fix-build-image-auth
Fix mistake in reusable build workflow that did not log in to the registry when publish image
2 parents 024291b + a6098f3 commit 98eee8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
username: ${{ github.actor }}
9191
password: ${{ github.token }}
9292
registry: ${{ env.IMAGE_REGISTRY }}
93-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
93+
if: inputs.publish-image
9494

9595
- name: Add tag with version to the image
9696
env:

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
kotlin = "2.1.20"
3-
json-schema-validator = "0.5.1"
3+
json-schema-validator = "0.5.0"
44

55
[plugins]
66
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }

0 commit comments

Comments
 (0)