Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
ingokuba committed Mar 19, 2021
1 parent f18425f commit 7124db6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM busybox
COPY sendinblue-extension/target/sendinblue.jar /sendinblue/
COPY ../../sendinblue-bundle/target/sendinblue.ear /sendinblue/
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
uses: docker/setup-buildx-action@v1

- name: Package maven jar
run: mvn clean package -DskipTests -Djar.name=sendinblue
run: mvn clean package -DskipTests -DartifactName=sendinblue

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
11 changes: 9 additions & 2 deletions sendinblue-bundle/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.intension</groupId>
Expand All @@ -7,9 +8,13 @@
</parent>
<artifactId>keycloak-sendinblue-bundle</artifactId>
<packaging>ear</packaging>

<description>Create an EAR to deploy the extension and its dependencies in Keycloak</description>

<properties>
<artifactName>${artifactId}-${keycloak.version}${changelist}</artifactName>
</properties>

<dependencies>
<dependency>
<groupId>de.intension</groupId>
Expand All @@ -19,6 +24,8 @@
</dependencies>

<build>
<!-- Override this with -Djar.name when building the jar -->
<finalName>${artifactName}</finalName>
<plugins>
<plugin>
<artifactId>maven-ear-plugin</artifactId>
Expand Down
9 changes: 0 additions & 9 deletions sendinblue-extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,6 @@

<name>Keycloak Sendinblue Extension</name>

<properties>
<jar.name>${artifactId}-${keycloak.version}${changelist}</jar.name>
</properties>

<build>
<!-- Override this with -Djar.name when building the jar -->
<finalName>${jar.name}</finalName>
</build>

<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
Expand Down

0 comments on commit 7124db6

Please sign in to comment.