diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6f6297..4866d9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -168,3 +168,68 @@ jobs: image_name_tag: hyperskill-python:3.10 username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_PASSWORD }} + build_java7_image: + name: Build epicbox/java7 image + runs-on: [self-hosted, small] + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Build + uses: ./.github/workflows/actions/build + with: + path: epicbox-java/7 + image_name_tag: java:7u181 + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASSWORD }} + build_java8_image: + name: Build epicbox/java8 image + runs-on: [self-hosted, small] + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Build + uses: ./.github/workflows/actions/build + with: + path: epicbox-java/8 + image_name_tag: java:8u181 + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASSWORD }} + build_java9_image: + name: Build epicbox/java9 image + runs-on: [self-hosted, small] + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Build + uses: ./.github/workflows/actions/build + with: + path: epicbox-java/9 + image_name_tag: java:9.0.1 + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASSWORD }} + build_java11_image: + name: Build epicbox/java11 image + runs-on: [self-hosted, small] + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Build + uses: ./.github/workflows/actions/build + with: + path: epicbox-java/11 + image_name_tag: java:11.0.1 + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASSWORD }} + build_java17_image: + name: Build epicbox/java17 image + runs-on: [self-hosted, small] + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Build + uses: ./.github/workflows/actions/build + with: + path: epicbox-java/17 + image_name_tag: java:17.0.1 + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_PASSWORD }}