Update action.yml

This commit is contained in:
subochev 2025-05-19 00:04:09 +03:00
parent 74676cfef4
commit 27be9253ef

View File

@ -32,13 +32,7 @@ runs:
DOCKER_HOST: unix:///run/podman/podman.sock DOCKER_HOST: unix:///run/podman/podman.sock
shell: bash shell: bash
run: "./gradlew -Pversion=${{ gitea.ref_name }} clean shadowJar -Dorg.gradle.jvmargs=-Xmx4096M --parallel --no-daemon --no-watch-fs --stacktrace" run: "./gradlew -Pversion=${{ gitea.ref_name }} clean shadowJar -Dorg.gradle.jvmargs=-Xmx4096M --parallel --no-daemon --no-watch-fs --stacktrace"
- name: Log in to Repository - name: Build Docker Image
uses: redhat-actions/podman-login@v1
with:
registry: ${{ vars.DOCKER_REGISTRY_HOST }}
username: ${{ vars.DOCKER_REGISTRY_USERNAME }}
password: ${{ vars.DOCKER_REGISTRY_PASSWORD }}
- name: Buildah Action
uses: redhat-actions/buildah-build@v2 uses: redhat-actions/buildah-build@v2
with: with:
image: ${{ vars.DOCKER_REGISTRY_HOST }}/${{ inputs.image_name }} image: ${{ vars.DOCKER_REGISTRY_HOST }}/${{ inputs.image_name }}