fixes ghcr pull
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
transcript-anonymizer-frontend:
|
transcript-anonymizer-frontend:
|
||||||
container_name: transcript-anonymizer-frontend
|
container_name: transcript-anonymizer-frontend
|
||||||
image: ghcr.io/consider-it/transcript-anonymizer-frontend:latest
|
image: ghcr.io/consider-it/transkript-anonymizer-frontend:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
ANONYMIZER_API_URL: http://transcript-anonymizer:8003/api/v1/anonymize
|
ANONYMIZER_API_URL: http://transcript-anonymizer:8003/api/v1/anonymize
|
||||||
|
|||||||
@@ -8,15 +8,5 @@
|
|||||||
|
|
||||||
- name: Ensure deployment of Docker Compose applications
|
- name: Ensure deployment of Docker Compose applications
|
||||||
hosts: Docker_Compose_Hosts
|
hosts: Docker_Compose_Hosts
|
||||||
pre_tasks:
|
|
||||||
- name: Login to GHCR (if credentials provided)
|
|
||||||
community.docker.docker_login:
|
|
||||||
registry_url: ghcr.io
|
|
||||||
username: "{{ ghcr_username }}"
|
|
||||||
password: "{{ ghcr_pat }}"
|
|
||||||
when:
|
|
||||||
- ghcr_username | default('') | length > 0
|
|
||||||
- ghcr_pat | default('') | length > 0
|
|
||||||
become: true
|
|
||||||
roles:
|
roles:
|
||||||
- docker_compose
|
- docker_compose
|
||||||
|
|||||||
@@ -1,14 +1,4 @@
|
|||||||
- name: Ensure deployment of Docker Compose applications
|
- name: Ensure deployment of Docker Compose applications
|
||||||
hosts: Docker_Compose_Hosts
|
hosts: Docker_Compose_Hosts
|
||||||
pre_tasks:
|
|
||||||
- name: Login to GHCR (if credentials provided)
|
|
||||||
community.docker.docker_login:
|
|
||||||
registry_url: ghcr.io
|
|
||||||
username: "{{ ghcr_username }}"
|
|
||||||
password: "{{ ghcr_pat }}"
|
|
||||||
when:
|
|
||||||
- ghcr_username | default('') | length > 0
|
|
||||||
- ghcr_pat | default('') | length > 0
|
|
||||||
become: true
|
|
||||||
roles:
|
roles:
|
||||||
- docker_compose
|
- docker_compose
|
||||||
|
|||||||
Reference in New Issue
Block a user