Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bruk-lemma authored Jan 13, 2024
1 parent f5a16a6 commit 54c91d2
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
Expand All @@ -24,18 +27,6 @@ jobs:

- name: Build with Gradle
run: ./gradlew build

- name: List JAR files in build/libs
run: ls build/libs/

- name: Create Docker context directory
run: mkdir -p ./docker-context/

- name: Copy JAR file to Docker context
run: cp build/libs/*.jar ./docker-context/

- name: List contents of Docker context directory
run: ls -al ./docker-context/

- name: Build and Push Docker Image
uses: mr-smithers-excellent/docker-build-push@v4
Expand Down

0 comments on commit 54c91d2

Please sign in to comment.