fix
This commit is contained in:
parent
212b4c99d1
commit
d34a0ffc51
@ -1,4 +1,4 @@
|
|||||||
name: 'Build gradle'
|
name: "Build gradle"
|
||||||
description: Build docker image with docker
|
description: Build docker image with docker
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
@ -6,20 +6,20 @@ inputs:
|
|||||||
description: Name of image
|
description: Name of image
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
runs:
|
jobs:
|
||||||
using: "composite"
|
gradle-build:
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Jvm
|
- name: Setup Jvm
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 21
|
java-version: 21
|
||||||
distribution: 'adopt'
|
distribution: "adopt"
|
||||||
- name: "Building"
|
- name: "Building"
|
||||||
env:
|
env:
|
||||||
HELM_REPOSITORY: ${{ vars.HELM_REPOSITORY }}
|
HELM_REPOSITORY: ${{ vars.HELM_REPOSITORY }}
|
||||||
DOCKER_REGISTRY_USERNAME: ${{ vars.DOCKER_REGISTRY_USERNAME }}
|
DOCKER_REGISTRY_USERNAME: ${{ vars.DOCKER_REGISTRY_USERNAME }}
|
||||||
DOCKER_REGISTRY_PASSWORD: ${{ vars.DOCKER_REGISTRY_PASSWORD }}
|
DOCKER_REGISTRY_PASSWORD: ${{ vars.DOCKER_REGISTRY_PASSWORD }}
|
||||||
DOCKER_IMAGE_NAME: ${{ vars.DOCKER_REGISTRY_HOST }}/${{ inputs.image_name }}:${{ gitea.ref_name }}
|
DOCKER_IMAGE_NAME: ${{ vars.DOCKER_REGISTRY_HOST }}/${{ inputs.image_name }}:${{ gitea.ref_name }}
|
||||||
DOCKER_REGISTRY_HOST: ${{ vars.DOCKER_REGISTRY_HOST }}
|
DOCKER_REGISTRY_HOST: ${{ vars.DOCKER_REGISTRY_HOST }}
|
||||||
DOCKER_HOST: unix:///run/podman/podman.sock
|
DOCKER_HOST: unix:///run/podman/podman.sock
|
||||||
run: './gradlew -Pversion=${{ gitea.ref_name }} pushDockerImage -Dorg.gradle.jvmargs=-Xmx4096M --parallel --no-daemon --no-watch-fs --stacktrace'
|
run: "./gradlew -Pversion=${{ gitea.ref_name }} pushDockerImage -Dorg.gradle.jvmargs=-Xmx4096M --parallel --no-daemon --no-watch-fs --stacktrace"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user