Skip to content

Commit

Permalink
Merge pull request #90 from nityatadepalli123/master
Browse files Browse the repository at this point in the history
add liberty sample to workflow
  • Loading branch information
JunliWang authored Jan 24, 2024
2 parents cee30fe + b646869 commit a545e4b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
6 changes: 0 additions & 6 deletions kafka-java-liberty-sample/.dockerignore

This file was deleted.

3 changes: 2 additions & 1 deletion kafka-java-liberty-sample/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion kafka-java-liberty-sample/kafka-java-liberty-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a545e4b

Please sign in to comment.