Change quay.io to ghcr.io (#328)

This commit is contained in:
Marian Steinbach 2024-02-22 09:32:49 +01:00 committed by GitHub
parent b1762da7ef
commit f0db5aad9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 9 additions and 9 deletions

View File

@ -63,7 +63,7 @@ docker run --rm -ti \
-v $(pwd)/screenshots:/screenshots \
-v $(pwd)/volumes/chrome-userdir:/opt/chrome-userdir \
--shm-size=2g \
quay.io/netzbegruenung/green-spider:main python3 cli.py \
ghcr.io/netzbegruenung/green-spider:latest python3 cli.py \
--credentials-path /secrets/datastore-writer.json \
--loglevel debug \
spider --job '{"url": "https://gruene-porta-westfalica.de/home/", "city": "Porta Westfalica", "country": "DE", "district": "Minden-Lübbecke", "level": "DE:ORTSVERBAND", "state":" Nordrhein-Westfalen", "type": "REGIONAL_CHAPTER"}'

View File

@ -19,7 +19,7 @@
# secrets/datastore-writer.json
DOCKERIMAGE="quay.io/netzbegruenung/green-spider:latest"
DOCKERIMAGE="ghcr.io/netzbegruenung/green-spider:latest"
RESULTS_ENTITY_KIND="spider-results"
@ -193,7 +193,7 @@ else
echo "Starting Docker Job"
#ssh -o StrictHostKeyChecking=no -q root@$SERVER_IP docker run -t \
# -v /root/secrets:/secrets \
# quay.io/netzbegruenung/green-spider spider.py \
# ghcr.io/netzbegruenung/green-spider:latest spider.py \
# --credentials-path /secrets/datastore-writer.json \
# jobs

View File

@ -15,7 +15,7 @@ services:
# manager manages the job queue.
manager:
image: quay.io/netzbegruenung/green-spider:main
image: ghcr.io/netzbegruenung/green-spider:latest
command: >
python3 cli.py
--credentials-path /secrets/datastore-writer.json

2
job.py
View File

@ -16,7 +16,7 @@ from google.cloud import datastore
# via the environment JOB_TIMEOUT variable.
TIMEOUT = int(os.environ.get("JOB_TIMEOUT", "50"))
DOCKER_IMAGE = 'quay.io/netzbegruenung/green-spider:main'
DOCKER_IMAGE = 'ghcr.io/netzbegruenung/green-spider:latest'
CREDENTIALS_PATH = '/secrets/datastore-writer.json'

View File

@ -12,8 +12,8 @@ spec:
spec:
containers:
- name: spider
image: quay.io/netzbegruenung/green-spider:main
imagePullPolicy: Always
image: ghcr.io/netzbegruenung/green-spider:latest
imagePullPolicy: IfNotPresent
args:
- "--credentials-path=/secrets/datastore-writer.json"
- "--loglevel=info"

View File

@ -12,7 +12,7 @@ spec:
spec:
containers:
- name: spider
image: quay.io/netzbegruenung/green-spider:main
image: ghcr.io/netzbegruenung/green-spider:latest
imagePullPolicy: Always
args:
- "--credentials-path=/secrets/datastore-writer.json"

View File

@ -25,7 +25,7 @@ spec:
giantswarm.io/machine-pool: 5n27k
containers:
- name: spider
image: quay.io/netzbegruenung/green-spider:v1.0.0
image: ghcr.io/netzbegruenung/green-spider:latest
imagePullPolicy: IfNotPresent
command:
- python3