Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf6f98d83b | ||
|
|
5ef90c3676 | ||
|
|
dce22c0ced | ||
|
|
ce95ae33b6 | ||
|
|
5e446df042 |
@@ -13,7 +13,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ secrets.RELEASE_TOKEN || gitea.token }}
|
token: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
|
|
||||||
- name: Create next tag from config/version.yaml
|
- name: Create next tag from config/version.yaml
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
parameters:
|
parameters:
|
||||||
app.version: '0.1.0'
|
app.version: '0.1.4'
|
||||||
|
|||||||
@@ -74,13 +74,13 @@ RUN cd frontend && npm ci && npm run build:dist && rm -rf node_modules
|
|||||||
RUN chown -R www-data:www-data /var/www/html/var /var/www/html/frontend/dist
|
RUN chown -R www-data:www-data /var/www/html/var /var/www/html/frontend/dist
|
||||||
|
|
||||||
# PHP prod config
|
# PHP prod config
|
||||||
COPY infra/deploy/php-prod.ini /usr/local/etc/php/php.ini
|
COPY infra/prod/php-prod.ini /usr/local/etc/php/php.ini
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
# ── Nginx stage ──
|
# ── Nginx stage ──
|
||||||
FROM nginx:1.27-alpine AS nginx
|
FROM nginx:1.27-alpine AS nginx
|
||||||
|
|
||||||
COPY infra/deploy/nginx.conf /etc/nginx/conf.d/default.conf
|
COPY infra/prod/nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY --from=php-base /var/www/html/public /var/www/html/public
|
COPY --from=php-base /var/www/html/public /var/www/html/public
|
||||||
COPY --from=php-base /var/www/html/frontend/dist /var/www/html/frontend/dist
|
COPY --from=php-base /var/www/html/frontend/dist /var/www/html/frontend/dist
|
||||||
|
|||||||
Reference in New Issue
Block a user