Skip to content

Commit

Permalink
Update Main-CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KhaledAshrafH committed May 24, 2023
1 parent 4dea196 commit 9975685
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/Main-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up OpenJDK 19
uses: actions/setup-java@v2
with:
java-version: '19'
distribution: 'adopt'

- name: Build Java code
run: javac ./src/Main.java

run: |
javac ./src/Main.java
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -34,7 +35,7 @@ jobs:
uses: docker/setup-buildx-action@v2


- name: Build and run docker-image with the Dockerfile
- name: Build the docker-image with the Dockerfile
run: |
docker build --tag registeration-process:v2.0 .
Expand Down

0 comments on commit 9975685

Please sign in to comment.