Skip to content

Commit 702bfad

Browse files
Rob Tjalmadlabordus
authored andcommitted
Publishing the old way
Signed-off-by: Rob Tjalma <[email protected]>
1 parent a0de837 commit 702bfad

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

.github/workflows/dockerhub_deployment.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,8 @@ jobs:
2323
with:
2424
username: ${{ secrets.DOCKER_HUB_USERNAME }}
2525
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
26-
- name: Build Docker Image
26+
- name: Build and publish Docker Image
2727
run: ./gradlew clean build -Dquarkus-profile=publishNativeImage
2828
env:
2929
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 }}

app/src/main/resources/application.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ basex.password = admin
2626
%publishNativeImage.quarkus.container-image.build=true
2727
%publishNativeImage.quarkus.container-image.group=lfenergycompas
2828
%publishNativeImage.quarkus.container-image.name=compas-scl-data-service
29+
%publishNativeImage.quarkus.container-image.push=true

0 commit comments

Comments
 (0)