Skip to content

Commit

Permalink
Use Apollo Router as binary to add plugin for JWT validation
Browse files Browse the repository at this point in the history
  • Loading branch information
rkudryashov committed Jun 25, 2022
1 parent a198469 commit 1a14015
Show file tree
Hide file tree
Showing 12 changed files with 3,278 additions and 225 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: ./auth-service/Dockerfile
file: ./planets-service/Dockerfile
push: ${{ github.event_name == 'push' }}
tags: kudryashovroman/graphql-rust:planets-service

Expand All @@ -83,6 +83,27 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: ./auth-service/Dockerfile
file: ./satellites-service/Dockerfile
push: ${{ github.event_name == 'push' }}
tags: kudryashovroman/graphql-rust:satellites-service

apollo-router-image:
needs: test-rust-services
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
file: ./apollo-router/Dockerfile
push: ${{ github.event_name == 'push' }}
tags: kudryashovroman/graphql-rust:apollo-router
Loading

0 comments on commit 1a14015

Please sign in to comment.