diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index e0326f5..ebcaae1 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -8,8 +8,8 @@ on: - 'kafka-java-console-schema-sample/**' - 'kafka-nodejs-console-sample/**' - 'kafka-python-console-sample/**' - - + - 'kafka-java-liberty-sample/**' + env: REGISTRY: ghcr.io @@ -30,6 +30,8 @@ jobs: image: kafka-nodejs-console-sample:latest - directory: kafka-python-console-sample image: kafka-python-console-sample:latest + - directory: kafka-java-liberty-sample + image: kafka-java-liberty-sample:latest permissions: contents: read diff --git a/kafka-java-liberty-sample/.dockerignore b/kafka-java-liberty-sample/.dockerignore deleted file mode 100644 index 5a23aef..0000000 --- a/kafka-java-liberty-sample/.dockerignore +++ /dev/null @@ -1,6 +0,0 @@ -**/* -.**/* -!build.gradle -!log4j/** -!resources/** -!src/** \ No newline at end of file diff --git a/kafka-java-liberty-sample/Dockerfile b/kafka-java-liberty-sample/Dockerfile index 76647ee..2c896cd 100644 --- a/kafka-java-liberty-sample/Dockerfile +++ b/kafka-java-liberty-sample/Dockerfile @@ -1,4 +1,5 @@ -FROM gradle:jdk8-alpine as jdk +# test +FROM gradle:jdk11-alpine as jdk COPY --chown=1000 . /usr/src/app WORKDIR /usr/src/app diff --git a/kafka-java-liberty-sample/kafka-java-liberty-sample.yaml b/kafka-java-liberty-sample/kafka-java-liberty-sample.yaml index 5c4832f..92eeb5c 100644 --- a/kafka-java-liberty-sample/kafka-java-liberty-sample.yaml +++ b/kafka-java-liberty-sample/kafka-java-liberty-sample.yaml @@ -5,7 +5,7 @@ metadata: namespace: default spec: containers: - - image: ibmcom/kafka-java-liberty-sample:latest + - image: event-streams-samples/kafka-java-liberty-sample:latest imagePullPolicy: IfNotPresent name: liberty-sample env: