diff --git a/docker/action.yaml b/docker/action.yaml new file mode 100644 index 0000000..5a629e2 --- /dev/null +++ b/docker/action.yaml @@ -0,0 +1,24 @@ +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' + 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 }} \ No newline at end of file