From f2558c070d301ed1b4db792b0208e0b29cb839be Mon Sep 17 00:00:00 2001 From: gargi mehendale Date: Mon, 12 Dec 2022 13:00:48 +0530 Subject: [PATCH] merged build and push code for docker image --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f74f705..591de61 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -136,8 +136,8 @@ jobs: - uses: actions/checkout@v2 - uses: actions/download-artifact@v1 with: - name: package - path: target/ + name: package + path: target/ - name: Login to DockerHub uses: docker/login-action@v1 with: @@ -149,7 +149,7 @@ jobs: context: . push: true tags: infracloudinception/cicd_inception:1 - file: {context}/Dockerfile +# file: {context}/Dockerfile # - name: Docker build # run: | # docker build . -t shubhadainfra/cicd_infracloud:1