Skip to content

Commit

Permalink
Install git package
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhadaR committed Dec 14, 2022
1 parent b37f4a2 commit ff5fd25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ jobs:
# mvn install
- name: Docker build
run: |
docker build . -t shubhadainfra/cicd_infracloud:1 --build-arg version=${{ steps.build_and_test.outputs.build_number }}
- name: Login to DockerHub
docker build . -t shubhadainfra/cicd_infracloud:1
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8-jre
ARG version
ADD target/hello-world-maven-0.2.$version.jar /home/myjar.jar
ADD target/hello-world-maven-0.2.?.jar /home/myjar.jar
CMD ["java","-jar","/home/myjar.jar"]

0 comments on commit ff5fd25

Please sign in to comment.