File tree Expand file tree Collapse file tree 5 files changed +6
-38
lines changed Expand file tree Collapse file tree 5 files changed +6
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 17
17
java-version : ' 11'
18
18
distribution : ' adopt'
19
19
- name : Build authenticator jar file
20
- run : mvn -B -ntp package --file pom.xml -Dmaven.test.skip=true
20
+ run : mvn -B -ntp package
21
21
- name : Build test Docker container
22
22
run : |
23
23
docker build \
Original file line number Diff line number Diff line change 13
13
java-version : ' 11'
14
14
distribution : ' adopt'
15
15
server-id : ossrh
16
- server-username : MAVEN_USERNAME
17
- server-password : MAVEN_PASSWORD
16
+ server-username : kilmajster
17
+ server-password : ${{ secrets.OSSRH_PASSWORD }}
18
18
- name : Build project
19
19
run : mvn -B -ntp package
20
20
- name : Get the tag name
@@ -33,21 +33,18 @@ jobs:
33
33
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \
34
34
-P ossrh \
35
35
clean deploy
36
- env :
37
- MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
38
- MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
39
36
- name : Build docker init container
40
37
run : |
41
38
docker build \
42
39
-f src/main/docker/initContainer.Dockerfile \
43
40
-t kilmajster/keycloak-username-password-attribute-authenticator:"$TAG" \
44
41
-t kilmajster/keycloak-username-password-attribute-authenticator:latest \
45
42
.
46
- - name : Log in to Docker Hub
43
+ - name : Log into Docker Hub
47
44
uses : docker/login-action@v1
48
45
with :
49
- username : ${{ secrets.DOCKER_USERNAME }}
50
- password : ${{ secrets.DOCKER_PASSWORD }}
46
+ username : kilmajster
47
+ password : ${{ secrets.DOCKER_HUB_TOKEN }}
51
48
- name : Push tagged image
52
49
run : docker push kilmajster/keycloak-username-password-attribute-authenticator:"$TAG"
53
50
- name : Push latest image
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments