Skip to content

Commit

Permalink
🚀 creating a new image in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvDave12 committed Jan 11, 2024
1 parent 30a8dd3 commit b50d413
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: dhruvdavee
password: Dhruvd12@
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down
5 changes: 5 additions & 0 deletions src/service/firebase-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ export const getUserFromToken = async (token: string) => {
const user = await admin.auth().getUser(token);
return user;
};

export const testingToken = async (token: string) => {
const user = await admin.auth().verifyIdToken(token);
return user;
}

0 comments on commit b50d413

Please sign in to comment.