Same as homepage deploy Prepare for two-step deploy: - local build and fix local tag - deploy to remote server
22 lines
502 B
YAML
22 lines
502 B
YAML
---
|
|
- name: "Upload local transcriber images to registry"
|
|
hosts: all
|
|
gather_facts: no
|
|
|
|
vars_files:
|
|
- vars/ports.yml
|
|
- vars/secrets.yml
|
|
- vars/transcriber.yml
|
|
- vars/transcriber.images.yml
|
|
|
|
tasks:
|
|
|
|
- name: "Push web service image to remote registry"
|
|
community.docker.docker_image:
|
|
state: present
|
|
source: local
|
|
name: "{{ transcriber_image }}"
|
|
repository: "{{ registry_transcriber_image }}"
|
|
push: true
|
|
delegate_to: 127.0.0.1
|