From 82d23d0c794e80b2b093187dfd0742cefe85ea93 Mon Sep 17 00:00:00 2001 From: David Kornel Date: Thu, 30 Nov 2023 10:30:39 +0100 Subject: [PATCH] Remove build of unused strimzi-e2e container (#26) * Remove build of unused strimzi-e2e container * Remove build of unused strimzi-e2e container --- .github/workflows/verify.yaml | 20 ++------------------ Dockerfile | 10 ---------- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 Dockerfile diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 87a6b11..99cb748 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -1,4 +1,4 @@ -name: Build & Push +name: Build on: push: branches: @@ -8,7 +8,7 @@ on: - "*" jobs: - build-and-push: + build: runs-on: ubuntu-latest steps: - name: Cancel Previous Runs @@ -23,22 +23,6 @@ jobs: distribution: 'adopt-openj9' java-version: '17' - - name: Login to quay - env: - CONTAINER_USER: ${{ secrets.QUAY_USER }} - CONTAINER_PASSWORD: ${{ secrets.QUAY_PASSWORD }} - CONTAINER_REGISTRY: quay.io - run: - echo "$CONTAINER_PASSWORD" | docker login $CONTAINER_REGISTRY --username $CONTAINER_USER --password-stdin - - name: Build images run: | make java_build - make docker_build - - - name: Tag & Push - env: - USER: tealc - if: ${{ github.ref == 'refs/heads/main' }} - run: | - make docker_push diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index b8cb9ae..0000000 --- a/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM quay.io/rh_integration/strimzi-tools:latest - -ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk - -USER root - -COPY . /opt/thor/ - -RUN cd /opt/thor && \ - mvn clean install -DskipTests \ No newline at end of file