From 87c572001ccd20ea54160ba20e25a26d0def16a7 Mon Sep 17 00:00:00 2001 From: subochev Date: Mon, 31 Aug 2026 15:15:02 +0300 Subject: [PATCH] =?UTF-8?q?DEVX-422:=20=D0=97=D0=B0=D0=BA=D1=80=D1=8B?= =?UTF-8?q?=D1=82=D0=B8=D0=B5=20CS=20=D1=83=D1=8F=D0=B7=D0=B2=D0=B8=D0=BC?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=B5=D0=B9=20=D0=BD=D0=B0=20core=20service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/scan-backend.yml | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/.gitea/workflows/scan-backend.yml b/.gitea/workflows/scan-backend.yml index 6ac62f1..05105ed 100644 --- a/.gitea/workflows/scan-backend.yml +++ b/.gitea/workflows/scan-backend.yml @@ -45,32 +45,12 @@ jobs: ./gradlew bootJar --no-daemon -x cyclonedxBom echo 'Jar in libs folder' ls ./build/libs - - name: Generate Dockerfile - run: | - cat > ./Dockerfile << 'EOF' - FROM nexus.isb/developerspace-prod-docker-hosted/java-service-image:0.1.5 - - COPY /build/libs/*.jar /app.jar - - ENTRYPOINT ["java", "-jar", "/app.jar"] - EOF - - name: Login to Nexus - run: | - echo '${{ secrets.NEXUS_PASSWORD }}' | buildah login --tls-verify=false -u '${{ secrets.NEXUS_USERNAME }}' --password-stdin nexus.isb - - name: Build Image - uses: redhat-actions/buildah-build@v2 - env: - RUNNER_OS: Linux + - name: Build Docker Image + uses: https://git.binom.pw/otp/devops/docker@main with: - image: "otp/devspc/${{ github.event.inputs.repo_path }}" + image-name: "otp/devspc/${{ github.event.inputs.repo_path }}" tags: scan - containerfiles: | - ./Dockerfile - oci: true - tls-verify: false - context: . - extra-args: | - --retry=7 + push: false - name: Export Image to tar run: | rm -f /tmp/image.tar