mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 20:09:25 +00:00
feat: add docker image build CI
This commit is contained in:
parent
d1fde17220
commit
069ba56ed3
2 changed files with 13 additions and 28 deletions
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"name": "learnhouse-backend",
|
||||
"dockerComposeFile": ["../docker-compose.yml"],
|
||||
"service": "api",
|
||||
"workspaceFolder": "/usr/learnhouse",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"eamodio.gitlens",
|
||||
"ms-python.python",
|
||||
"ms-python.black-formatter",
|
||||
"ms-python.vscode-pylance",
|
||||
"styled-components.vscode-styled-components",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"esbenp.prettier-vscode",
|
||||
"ms-python.isort",
|
||||
"redhat.vscode-yaml",
|
||||
"bradlc.vscode-tailwindcss"
|
||||
],
|
||||
"settings": {
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "ms-python.python"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shutdownAction": "stopCompose"
|
||||
}
|
||||
13
.github/workflows/docker-build.yaml
vendored
Normal file
13
.github/workflows/docker-build.yaml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
name: App Build
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "**"
|
||||
jobs:
|
||||
docker-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build Docker Image
|
||||
run: docker build -t learnhouse .
|
||||
working-directory: .
|
||||
Loading…
Add table
Add a link
Reference in a new issue