Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
4097f2f67c | |||
bf12ab9036 | |||
5b0edeff40 | |||
8040095e66 | |||
d3443546a8 | |||
d3e6999a6c | |||
63de1cc642 | |||
74a4e27ef5 |
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@ -12,6 +12,25 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '24'
|
||||||
|
|
||||||
|
- name: Set up PHP with Composer
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
|
with:
|
||||||
|
php-version: '8.4'
|
||||||
|
tools: composer:v2
|
||||||
|
|
||||||
|
- name: Install PHP dependencies
|
||||||
|
run: composer install --no-interaction --prefer-dist --optimize-autoloader
|
||||||
|
|
||||||
|
- name: Install JS dependencies and build assets
|
||||||
|
run: |
|
||||||
|
npm ci
|
||||||
|
npm run build
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
@ -25,8 +44,8 @@ jobs:
|
|||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: ${{ github.workspace }}
|
||||||
file: ./Dockerfile
|
file: ${{ github.workspace }}/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
gitgud.foo/thegrind/flowtodo:latest
|
gitgud.foo/thegrind/flowtodo:latest
|
||||||
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -4,11 +4,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
- main
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
- main
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -4,11 +4,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
- main
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
|
4
Makefile
4
Makefile
@ -21,3 +21,7 @@ rebuild:
|
|||||||
docker-publish:
|
docker-publish:
|
||||||
docker image tag flowtodo:latest gitgud.foo/thegrind/flowtodo:$(VERSION)
|
docker image tag flowtodo:latest gitgud.foo/thegrind/flowtodo:$(VERSION)
|
||||||
docker push gitgud.foo/thegrind/flowtodo:$(VERSION)
|
docker push gitgud.foo/thegrind/flowtodo:$(VERSION)
|
||||||
|
|
||||||
|
test-remote-image:
|
||||||
|
docker pull gitgud.foo/thegrind/flowtodo:latest
|
||||||
|
docker run --rm -p 8889:8000 gitgud.foo/thegrind/flowtodo:latest
|
||||||
|
13
README.md
13
README.md
@ -10,6 +10,19 @@ in standup about what I did yesterday I can just look back at a list of bullet p
|
|||||||
|
|
||||||
**Docker image coming soon**
|
**Docker image coming soon**
|
||||||
|
|
||||||
|
### Docker compose
|
||||||
|
```yaml
|
||||||
|
services:
|
||||||
|
flowtodo:
|
||||||
|
container_name: flowtodo
|
||||||
|
image: gitgud.foo/thegrind/flowtodo:latest
|
||||||
|
environment:
|
||||||
|
- OCTANE_HTTPS=true # If you're serving through a reverse proxy
|
||||||
|
ports:
|
||||||
|
- '8889:8000'
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
#### Database
|
#### Database
|
||||||
|
Loading…
x
Reference in New Issue
Block a user