File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 23
23
with :
24
24
username : ${{ secrets.DOCKER_HUB_USERNAME }}
25
25
password : ${{ secrets.DOCKER_HUB_PASSWORD }}
26
- - name : Build Docker Image
26
+ - name : Build and publish Docker Image
27
27
run : ./gradlew clean build -Dquarkus-profile=publishNativeImage
28
28
env :
29
29
GITHUB_USERNAME : " OWNER"
30
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
- - name : Build and push image to Docker Hub
32
- uses : docker/build-push-action@v2
33
- with :
34
- # Set the context to use the current directory and not execute it's own git checkout.
35
- context : .
36
- push : true
37
- # Tag the images using the tagname and also latest.
38
- tags : |
39
- lfenergycompas/compas-scl-data-service:${{ steps.extract_tagname.outputs.tagname }}
40
- lfenergycompas/compas-scl-data-service:latest
30
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -26,3 +26,4 @@ basex.password = admin
26
26
%publishNativeImage.quarkus.container-image.build =true
27
27
%publishNativeImage.quarkus.container-image.group =lfenergycompas
28
28
%publishNativeImage.quarkus.container-image.name =compas-scl-data-service
29
+ %publishNativeImage.quarkus.container-image.push =true
You can’t perform that action at this time.
0 commit comments