Skip to content

Commit

Permalink
👷 Create dev image on every push
Browse files Browse the repository at this point in the history
  • Loading branch information
bdsoha committed Jan 16, 2025
1 parent ea29561 commit 0b39e74
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
name: 👷‍♂️ Build

on:
push:
branches:
- main
tags:
- v*

Expand Down Expand Up @@ -51,4 +52,5 @@ jobs:
push: true
provenance: false
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ github.ref == 'refs/heads/main' && format('ghcr.io/{0}:dev', github.repository) || steps.meta.outputs.tags }}

23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
## Environment Variables

| `env` | Default | Mode |
| -------------------------- | ------- | ------ |
| `CONTAINER_MANUAL_SETUP` || `*` |
| `CONTAINER_MODE` | `"app"` | `*` |
| `CONTAINER_PORT` | `8000` | app |
| `CONTAINER_WORKER_DELAY` | `10` | worker |
| `CONTAINER_WORKER_SLEEP` | `5` | worker |
| `CONTAINER_WORKER_TRIES` | `3` | worker |
| `CONTAINER_WORKER_TIMEOUT` | `300` | worker |
| `env` | Default | Mode |
| -------------------------- | -------------- | ------ |
| `APP_DEBUG` | `false` | `*` |
| `APP_ENV` | `"production"` | `*` |
| `CONTAINER_MANUAL_SETUP` || `*` |
| `CONTAINER_MODE` | `"app"` | `*` |
| `CONTAINER_PORT` | `8000` | app |
| `CONTAINER_WORKER_DELAY` | `10` | worker |
| `CONTAINER_WORKER_SLEEP` | `5` | worker |
| `CONTAINER_WORKER_TRIES` | `3` | worker |
| `CONTAINER_WORKER_TIMEOUT` | `300` | worker |
| `TEST_DB_CONNECTION` | `true` | `*` |
| `TEST_CACHE_CONNECTION` | `true` | `*` |
| `TEST_CONNECTION_TIMEOUT` | `20` | `*` |

0 comments on commit 0b39e74

Please sign in to comment.