File tree Expand file tree Collapse file tree 1 file changed +0
-36
lines changed
Expand file tree Collapse file tree 1 file changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -128,42 +128,6 @@ jobs:
128128 -DAZURE_DEVOPS_ARTIFACT_USERNAME=$AZURE_DEVOPS_ARTIFACT_USERNAME \
129129 -DAZURE_DEVOPS_ARTIFACT_TOKEN=$AZURE_DEVOPS_ARTIFACT_TOKEN
130130
131- Build-Docker :
132- needs : [ Provider-Deploy, Build, Artefact-Version ]
133- if : ${{ inputs.trigger_docker }}
134- runs-on : ubuntu-latest
135- steps :
136- - name : Checkout Code
137- uses : actions/checkout@v6
138-
139- - name : Download JAR Artefact
140- uses : actions/download-artifact@v7
141- with :
142- name : app-jar
143- path : build/libs
144-
145- - name : Set up Docker Buildx
146- uses : docker/setup-buildx-action@v3
147-
148- - name : Log in to GitHub Packages
149- uses : docker/login-action@v3
150- with :
151- registry : ghcr.io
152- username : ${{ github.actor }}
153- password : ${{ secrets.GITHUB_TOKEN }}
154-
155- - name : Build and Push Docker Image to GitHub
156- uses : docker/build-push-action@v6
157- with :
158- context : .
159- file : Dockerfile
160- push : true
161- tags : |
162- ghcr.io/${{ github.repository }}:${{ needs.Artefact-Version.outputs.artefact_version }}
163- build-args : |
164- BASE_IMAGE=eclipse-temurin:21
165- JAR_FILENAME=${{ needs.Build.outputs.artefact_name }}.jar
166-
167131 Deploy :
168132 needs : [ Provider-Deploy, Build, Artefact-Version ]
169133 if : ${{ inputs.trigger_deploy }}
You can’t perform that action at this time.
0 commit comments