Skip to content

Commit

Permalink
Merge pull request #71 from Infisical/maidul98-fixing-dockerhub-upload
Browse files Browse the repository at this point in the history
Update docker-image.yml to push to docker hub
  • Loading branch information
maidul98 authored Dec 4, 2022
2 parents 127f77d + 02284f3 commit 3de7942
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -18,17 +20,18 @@ 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
with:
push: true
file: /frontend/Dockerfile.dev
file: frontend/Dockerfile.dev
context: frontend
tags: infisical/frontend:test

0 comments on commit 3de7942

Please sign in to comment.