Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30c3b5dc8e | ||
|
|
81a585f546 | ||
|
|
bec337882c | ||
|
|
bac18a832a | ||
|
|
9afef46888 | ||
|
|
adba75fd24
|
No files matched your search
@@ -16,20 +16,20 @@ jobs:
|
|||||||
runs-on: cth-ubuntu-latest
|
runs-on: cth-ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: https://github.com/actions/checkout@v4
|
uses: https://github.com/actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: https://github.com/docker/setup-buildx-action@v3
|
uses: https://github.com/docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
||||||
|
|
||||||
- name: Login to registry
|
- name: Login to registry
|
||||||
uses: https://github.com/docker/login-action@v3
|
uses: https://github.com/docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
registry: 'h3m6q87t.gra7.container-registry.ovh.net'
|
registry: 'h3m6q87t.gra7.container-registry.ovh.net'
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: https://github.com/docker/build-push-action@v5
|
uses: https://github.com/docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
|
||||||
with:
|
with:
|
||||||
context: ./pythonProject
|
context: ./pythonProject
|
||||||
file: ./pythonProject/Dockerfile
|
file: ./pythonProject/Dockerfile
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Set base Python image version
|
# Set base Python image version
|
||||||
FROM python:3.10-alpine
|
FROM python:3.10-alpine@sha256:8ca9f9d0f4df2af674092e7e9d79ce7985e783cecfe070f8ea850801b6520bf7
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
asn1crypto==1.5.1
|
asn1crypto==1.5.1
|
||||||
certifi==2026.5.20
|
certifi==2026.5.20
|
||||||
cffi==2.0.0
|
cffi==2.1.1
|
||||||
charset-normalizer==3.4.7
|
charset-normalizer==3.4.7
|
||||||
click==8.4.0
|
click==8.4.0
|
||||||
cryptography==48.0.0
|
cryptography==48.0.0
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ def on_message(channel, method_frame, header_frame, body):
|
|||||||
channel.basic_publish(exchange=EXCHANGE_OUT,
|
channel.basic_publish(exchange=EXCHANGE_OUT,
|
||||||
body=json.dumps({'signatureId': body_content['signatureId'],
|
body=json.dumps({'signatureId': body_content['signatureId'],
|
||||||
'signatureZoneIndex': body_content['signatureZoneIndex'],
|
'signatureZoneIndex': body_content['signatureZoneIndex'],
|
||||||
|
'byUserId': body_content['byUserId'] if 'byUserId' in body_content else None,
|
||||||
'content': base64.b64encode(signed.read()).decode('utf-8')}),
|
'content': base64.b64encode(signed.read()).decode('utf-8')}),
|
||||||
properties=pika.BasicProperties(content_type='application/json',
|
properties=pika.BasicProperties(content_type='application/json',
|
||||||
delivery_mode=pika.DeliveryMode.Transient),
|
delivery_mode=pika.DeliveryMode.Transient),
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
||||||
Reference in new issue
Block a user