From 9c66062e6e2e00f1da9d60609cb50dfaa92937e3 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Sun, 4 Dec 2022 12:49:17 -0500 Subject: [PATCH 1/6] Update docker-image.yml --- .github/workflows/docker-image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 0cc52f851e..2bf2b14682 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -31,4 +31,5 @@ jobs: with: push: true file: /frontend/Dockerfile.dev + context: /frontend tags: infisical/frontend:test From 2299cff7d80654e75f13dac83203d115f5fd1267 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Sun, 4 Dec 2022 12:52:29 -0500 Subject: [PATCH 2/6] Update docker-image.yml --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 2bf2b14682..5693482a05 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -30,6 +30,6 @@ jobs: uses: docker/build-push-action@v3 with: push: true - file: /frontend/Dockerfile.dev + file: Dockerfile.dev context: /frontend tags: infisical/frontend:test From f7044d37cb7cdc6eb2e95ead7ae89c7738c834fb Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Sun, 4 Dec 2022 12:55:10 -0500 Subject: [PATCH 3/6] Update docker-image.yml --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 5693482a05..60f61cb55c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -31,5 +31,5 @@ jobs: with: push: true file: Dockerfile.dev - context: /frontend + context: frontend tags: infisical/frontend:test From 4fca41f62c5a4e01f7b386a0bc7ce010158e0ae3 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Sun, 4 Dec 2022 12:59:37 -0500 Subject: [PATCH 4/6] Update docker-image.yml --- .github/workflows/docker-image.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 60f61cb55c..98ad97daf6 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -6,6 +6,8 @@ jobs: docker: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v2 - name: Set up QEMU uses: docker/setup-qemu-action@v2 From 0e011da41c844753fc3bf4c12c3f414fd46ef437 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Sun, 4 Dec 2022 13:01:38 -0500 Subject: [PATCH 5/6] Update docker-image.yml --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 98ad97daf6..7b25597261 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -32,6 +32,6 @@ jobs: uses: docker/build-push-action@v3 with: push: true - file: Dockerfile.dev + file: frontend/Dockerfile.dev context: frontend tags: infisical/frontend:test From 02284f350b33768f4c3c11474346b08ee4d6a78e Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Sun, 4 Dec 2022 13:05:16 -0500 Subject: [PATCH 6/6] Update docker-image.yml --- .github/workflows/docker-image.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 7b25597261..770fa7e836 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -20,13 +20,13 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} -# - -# name: Build and push backend -# uses: docker/build-push-action@v3 -# with: -# push: true -# context: /backend -# tags: infisical/backend:latest + - + name: Build and push backend + uses: docker/build-push-action@v3 + with: + push: true + context: backend + tags: infisical/backend:test - name: Build and push frontend uses: docker/build-push-action@v3