1
0

Reorder setup
Some checks failed
Build container / Python-Test (push) Successful in 22s
Build container / Python-Package (push) Failing after 21s
Build container / Container-Package (push) Successful in 1m18s

This commit is contained in:
Jon Michael Aanes 2024-05-23 00:03:42 +02:00
parent 8ec4774f44
commit b70a8b5d94
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
2 changed files with 10 additions and 7 deletions

View File

@ -11,6 +11,9 @@ jobs:
secrets: secrets:
PIPY_REPO_USER: ${{ secrets.PIPY_REPO_USER }} PIPY_REPO_USER: ${{ secrets.PIPY_REPO_USER }}
PIPY_REPO_PASS: ${{ secrets.PIPY_REPO_PASS }} PIPY_REPO_PASS: ${{ secrets.PIPY_REPO_PASS }}
with:
REGISTRY_DOMAIN: gitfub.space
REGISTRY_ORGANIZATION: jmaasoft
Container-Package: Container-Package:
uses: jmaa/workflows/.gitea/workflows/container.yaml@v6.21 uses: jmaa/workflows/.gitea/workflows/container.yaml@v6.21
secrets: secrets:

View File

@ -12,16 +12,16 @@ RUN adduser -S personal_data && chown personal_data /personal_data
#debian: RUN useradd -m -r personal_data && chown personal_data /personal_data #debian: RUN useradd -m -r personal_data && chown personal_data /personal_data
# Requirements # Requirements
ADD requirements.txt requirements.txt ADD setup.py setup.py
RUN pip install --no-cache-dir -r requirements.txt ADD README.md README.md
ADD personal_data personal_data
RUN pip install --no-cache-dir . --break-system-packages
USER personal_data
# Tracability # Tracability
ARG GIT_HASH ARG GIT_HASH
ENV GIT_HASH=${GIT_HASH:-dev} ENV GIT_HASH=${GIT_HASH:-dev}
# Code
ADD personal_data personal_data
USER personal_data
CMD python -m personal_data CMD python -m personal_data