Skip to content

Commit

Permalink
rename demo in development
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Nov 24, 2023
1 parent e6c6272 commit 406e5dc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build demo image
name: Build development image

on:
# Allow to run this workflow only manually from the Actions tab
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile.demo
file: ./Dockerfile.development
push: true
tags: ${{ steps.get_image_id.outputs.IMAGE_ID }}:${{ steps.extract_branch.outputs.branch }}_demo
tags: ${{ steps.get_image_id.outputs.IMAGE_ID }}:${{ steps.extract_branch.outputs.branch }}_development
platforms: linux/amd64,linux/arm64
2 changes: 1 addition & 1 deletion Dockerfile.demo → Dockerfile.development
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM plone/plone-backend:6.0.4
COPY docker/create-constraints.py docker/constraints.cfg docker/requirements.txt requirements-demo.txt mx.ini /app/
COPY docker/create-constraints.py docker/constraints.cfg docker/requirements.txt requirements-development.txt mx.ini /app/


COPY versions.cfg /
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Dal branch __main__ e dai tag vengono create automaticamente immagini Docker lin

https://github.com/RedTurtle/iocomune-backend/pkgs/container/iocomune-backend

## Immagini demo
## Immagini di sviluppo

E' possibile generare delle immagini per demo con pacchetti in sviluppo non ancora rilasciati.

Expand All @@ -62,7 +62,7 @@ Nel file si possono impostare versioni custom e anche attivare pacchetti in svil
Non viene generata in automatico l'immagine (per evitare build inutili).
Per far partire una nuova build, basta far partire l'azione manualmente: https://github.com/RedTurtle/iocomune-backend/actions

Verrà creata un'immagine chiamata `nome_del_branch_demo` (dove nome_del_branch è il nome del branch ovviamente) su https://ghcr.io/redturtle/iocomune-backend
Verrà creata un'immagine chiamata `nome_del_branch_development` (dove nome_del_branch è il nome del branch ovviamente) su https://ghcr.io/redturtle/iocomune-backend


# Quando fare un nuovo tag
Expand Down
2 changes: 1 addition & 1 deletion mx.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[settings]
requirements-in = requirements-demo.txt
requirements-in = requirements-development.txt
requirements-out = requirements-mxdev.txt
contraints-out = constraints-mxdev.txt

Expand Down
File renamed without changes.

0 comments on commit 406e5dc

Please sign in to comment.