Use CI docker images for tests.

This commit is contained in:
Kavin 2022-09-17 20:32:37 +05:30
parent 19ccb3fdfb
commit ad6ae22cb5
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -19,15 +19,25 @@ jobs:
- testing/docker-compose.cockroachdb.yml
- testing/docker-compose.yugabytedb.yml
dockerfile:
- Dockerfile
- Dockerfile.openj9
- Dockerfile.graalvm-jvm
- Dockerfile.ci
- Dockerfile.openj9.ci
- Dockerfile.graalvm-jvm.ci
steps:
- uses: actions/checkout@v3
- name: Create Version File
run: echo $(git log -1 --date=short --pretty=format:%cd)-$(git rev-parse --short HEAD) > VERSION
- name: Build Locally
uses: docker/build-push-action@v3.1.1
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
check-latest: true
cache: "gradle"
- name: Run Build
run: ./gradlew shadowJar
- run: mv build/libs/piped-*-all.jar piped.jar
- name: Build Image Locally
uses: docker/build-push-action@v3
with:
context: .
load: true