From edc979e843990fd309e7ccd679a45fd0fcc193c2 Mon Sep 17 00:00:00 2001 From: subochev Date: Mon, 31 Aug 2026 15:15:02 +0300 Subject: [PATCH] =?UTF-8?q?DEVX-422:=20=D0=97=D0=B0=D0=BA=D1=80=D1=8B?= =?UTF-8?q?=D1=82=D0=B8=D0=B5=20CS=20=D1=83=D1=8F=D0=B7=D0=B2=D0=B8=D0=BC?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=B5=D0=B9=20=D0=BD=D0=B0=20core=20service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/action.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docker/action.yaml b/docker/action.yaml index 51a64bf..ce13095 100644 --- a/docker/action.yaml +++ b/docker/action.yaml @@ -8,9 +8,15 @@ inputs: tags: description: "Tags of image" required: true + push: + description: "Push image to registry after build" + required: false + default: "true" #FROM bellsoft/liberica-openjdk-alpine:21.0.6-10 runs: using: "composite" + secrets: + inherit steps: - name: "Config gradle" shell: bash @@ -22,8 +28,13 @@ runs: ENTRYPOINT ["java", "-jar", "/app.jar"] 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 uses: https://git.binom.pw/subochev/devops/build-docker@main with: image_name: ${{ inputs.image-name }} - tags: latest ${{ inputs.tags }} \ No newline at end of file + tags: latest ${{ inputs.tags }} + push: ${{ inputs.push }} \ No newline at end of file