-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Jeffrey04/20240910-initial-commit
initial commit to the project
- Loading branch information
Showing
46 changed files
with
17,531 additions
and
0 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 @@ | ||
./data |
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,4 @@ | ||
/.yarn/** linguist-vendored | ||
/.yarn/releases/* binary | ||
/.yarn/plugins/**/* binary | ||
/.pnp.* binary linguist-generated |
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,20 @@ | ||
name: image builder dev | ||
run-name: Building new docker containers | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: set lower case owner name | ||
run: echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV} | ||
env: | ||
OWNER: '${{ github.repository_owner }}' | ||
- name: Set current date as env variable | ||
run: echo "TODAY=$(date +'%Y%m%d')" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- run: sudo apt-get install -y podman | ||
- run: echo ${{ secrets.GITHUB_TOKEN }} | podman login ghcr.io -u ${{ github.repository_owner }} --password-stdin | ||
- run: podman build --tag "ghcr.io/$OWNER_LC/blockedornot-frontend:$TODAY" -f ./podman/frontend/Dockerfile . | ||
- run: podman build --tag "ghcr.io/$OWNER_LC/blockedornot-backend:$TODAY" -f ./podman/backend/Dockerfile . | ||
- run: podman push "ghcr.io/$OWNER_LC/blockedornot-frontend:$TODAY" | ||
- run: podman push "ghcr.io/$OWNER_LC/blockedornot-backend:$TODAY" |
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,21 @@ | ||
name: image builder latest | ||
run-name: Building new docker containers | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: set lower case owner name | ||
run: echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV} | ||
env: | ||
OWNER: '${{ github.repository_owner }}' | ||
- uses: actions/checkout@v4 | ||
- run: sudo apt-get install -y podman | ||
- run: echo ${{ secrets.GITHUB_TOKEN }} | podman login ghcr.io -u ${{ github.repository_owner }} --password-stdin | ||
- run: podman build --tag "ghcr.io/$OWNER_LC/blockedornot-frontend:latest" -f ./podman/frontend/Dockerfile . | ||
- run: podman build --tag "ghcr.io/$OWNER_LC/blockedornot-backend:latest" -f ./podman/backend/Dockerfile . | ||
- run: podman push "ghcr.io/$OWNER_LC/blockedornot-frontend:latest" | ||
- run: podman push "ghcr.io/$OWNER_LC/blockedornot-backend:latest" |
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,62 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
.node-version | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
certificates | ||
podman/opensearch/usr/share/opensearch/config/opensearch-security/* | ||
|
||
#yarn | ||
.yarn/* | ||
!.yarn/cache | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# python | ||
*.pyc | ||
|
||
# Packages | ||
/dist/* | ||
|
||
# Unit test / coverage reports | ||
.coverage | ||
.pytest_cache | ||
|
||
.DS_Store | ||
.idea/* | ||
.python-version | ||
.vscode/* | ||
|
||
/docs/site/* | ||
.mypy_cache | ||
__pycache | ||
|
||
.venv | ||
/poetry.toml | ||
|
||
# podman data | ||
podman/frontend/data |
Oops, something went wrong.