name: "Clone OTP" description: "Build docker image with docker" inputs: image-name: description: "Name of image" required: true tags: description: "Tags of image" required: true runs: using: "composite" steps: - name: "Config gradle" shell: bash run: | cat > ./Dockerfile << 'EOF' FROM bellsoft/liberica-openjdk-alpine:21.0.6-10 COPY /build/libs/*.jar /app.jar ENTRYPOINT ["java", "-jar", "/app.jar"] EOF - name: Build Docker Image uses: https://git.binom.pw/subochev/devops/build-docker@main with: image_name: ${{ inputs.image-name }} tags: latest ${{ inputs.tags }}