generated from vaibhavpandeyvpz/starter-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd984ef
commit e055a64
Showing
9 changed files
with
329 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: CD | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
permissions: | ||
packages: write | ||
|
||
jobs: | ||
build: | ||
name: Build Docker image | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install cosign | ||
uses: sigstore/[email protected] | ||
with: | ||
cosign-release: v2.1.1 | ||
- name: Setup Docker buildx | ||
uses: docker/[email protected] | ||
- name: Log into registry ${{ env.REGISTRY }} | ||
uses: docker/[email protected] | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Extract Docker metadata | ||
id: meta | ||
uses: docker/[email protected] | ||
with: | ||
images: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}" | ||
tags: type=raw,value=latest | ||
- name: Build & push Docker image | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
platforms: linux/amd64,linux/arm64 | ||
push: "true" | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
Resume = { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "Full name of the candidate.", | ||
}, | ||
"emails": { | ||
"type": "array", | ||
"description": "List of email addresses of the candidate.", | ||
"items": {"type": "string"}, | ||
}, | ||
"phones": { | ||
"type": "array", | ||
"description": "List of phone numbers of the candidate, in E.164 format.", | ||
"items": {"type": "string"}, | ||
}, | ||
"date_of_birth": { | ||
"type": "string", | ||
"description": "Date of birth of the candidate in YYYY-MM-DD format.", | ||
}, | ||
"nationality": { | ||
"type": "string", | ||
"description": "Nationality of the candidate as ISO 3166-1 alpha-2 code.", | ||
}, | ||
"about": { | ||
"type": "string", | ||
"description": "Text content from about section of the candidate.", | ||
}, | ||
"skills": { | ||
"type": "array", | ||
"description": "List of skills mentioned by the candidate.", | ||
"items": {"type": "string"}, | ||
}, | ||
"hobbies": { | ||
"type": "array", | ||
"description": "List of hobbies mentioned by the candidate.", | ||
"items": {"type": "string"}, | ||
}, | ||
"languages": { | ||
"type": "array", | ||
"description": "List of languages known by the candidate as ISO 639 codes.", | ||
"items": {"type": "string"}, | ||
}, | ||
"links": { | ||
"type": "array", | ||
"description": "List of URLs or links (website, social media etc.) mentioned by the candidate.", | ||
"items": {"type": "string"}, | ||
}, | ||
"qualifications": { | ||
"type": "array", | ||
"description": "List of educational qualifications mentioned by the candidate sorted in descending order.", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"degree": { | ||
"type": "string", | ||
"description": "Name of the degree which was achieved.", | ||
}, | ||
"institution": { | ||
"type": "string", | ||
"description": "Name of the institution where this educational qualification was achieved.", | ||
}, | ||
"started_at": { | ||
"type": "string", | ||
"description": "Start date of pursuing this educational qualification in YYYY-MM format.", | ||
}, | ||
"ended_at": { | ||
"type": "string", | ||
"description": "End date of pursuing this educational qualification in YYYY-MM format." | ||
"Exclude if not mentioned of currently pursuing.", | ||
}, | ||
}, | ||
"required": ["degree", "institution"], | ||
}, | ||
}, | ||
"experiences": { | ||
"type": "array", | ||
"description": "List of work experiences mentioned by the candidate sorted in descending order.", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"company": { | ||
"type": "string", | ||
"description": "Name of the company or organization.", | ||
}, | ||
"designation": { | ||
"type": "string", | ||
"description": "Name of the role or designation at this company.", | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "Location of the company.", | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "Job description, responsibilities or project details while working here.", | ||
}, | ||
"started_at": { | ||
"type": "string", | ||
"description": "Joining date at this company in in YYYY-MM format.", | ||
}, | ||
"exited_at": { | ||
"type": "string", | ||
"description": "Leaving or exit date at this company in YYYY-MM format." | ||
"Exclude if not mentioned of currently working.", | ||
}, | ||
"skills": { | ||
"type": "array", | ||
"description": "List of skills learned or utilised while working here.", | ||
"items": {"type": "string"}, | ||
}, | ||
}, | ||
"required": ["company", "designation", "from"], | ||
}, | ||
}, | ||
}, | ||
"required": ["name"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
[app] | ||
env=dev | ||
|
||
[openai] | ||
api_key= | ||
organization= | ||
model=gpt-3.5-turbo |
Oops, something went wrong.