DEVX-421: Автоматизация Team City
This commit is contained in:
+7
-3
@@ -12,11 +12,15 @@ inputs:
|
|||||||
description: "Push image to registry after build"
|
description: "Push image to registry after build"
|
||||||
required: false
|
required: false
|
||||||
default: "true"
|
default: "true"
|
||||||
|
nexus-username:
|
||||||
|
description: "Nexus registry login user"
|
||||||
|
required: true
|
||||||
|
nexus-password:
|
||||||
|
description: "Nexus registry login password"
|
||||||
|
required: 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
|
||||||
@@ -32,7 +36,7 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo 'Login to Nexus.isb'
|
echo 'Login to Nexus.isb'
|
||||||
echo '${{ secrets.NEXUS_PASSWORD }}' | buildah login --tls-verify=false -u '${{ secrets.NEXUS_USERNAME }}' --password-stdin nexus.isb
|
echo '${{ inputs.nexus-password }}' | buildah login --tls-verify=false -u '${{ inputs.nexus-username }}' --password-stdin nexus.isb
|
||||||
- name: "Info"
|
- name: "Info"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user