DEVX-422: Закрытие CS уязвимостей на core service
This commit is contained in:
+12
-1
@@ -8,9 +8,15 @@ inputs:
|
|||||||
tags:
|
tags:
|
||||||
description: "Tags of image"
|
description: "Tags of image"
|
||||||
required: true
|
required: true
|
||||||
|
push:
|
||||||
|
description: "Push image to registry after build"
|
||||||
|
required: false
|
||||||
|
default: "true"
|
||||||
#FROM bellsoft/liberica-openjdk-alpine:21.0.6-10
|
#FROM bellsoft/liberica-openjdk-alpine:21.0.6-10
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
secrets:
|
||||||
|
inherit
|
||||||
steps:
|
steps:
|
||||||
- name: "Config gradle"
|
- name: "Config gradle"
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -22,8 +28,13 @@ runs:
|
|||||||
|
|
||||||
ENTRYPOINT ["java", "-jar", "/app.jar"]
|
ENTRYPOINT ["java", "-jar", "/app.jar"]
|
||||||
EOF
|
EOF
|
||||||
|
- name: "Login to Nexus"
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo '${{ secrets.NEXUS_PASSWORD }}' | buildah login --tls-verify=false -u '${{ secrets.NEXUS_USERNAME }}' --password-stdin nexus.isb
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
uses: https://git.binom.pw/subochev/devops/build-docker@main
|
uses: https://git.binom.pw/subochev/devops/build-docker@main
|
||||||
with:
|
with:
|
||||||
image_name: ${{ inputs.image-name }}
|
image_name: ${{ inputs.image-name }}
|
||||||
tags: latest ${{ inputs.tags }}
|
tags: latest ${{ inputs.tags }}
|
||||||
|
push: ${{ inputs.push }}
|
||||||
Reference in New Issue
Block a user