Update roles/demolamp/tasks/build.yml

This commit is contained in:
2024-02-21 17:14:20 +08:00
parent d2ec4f4bd9
commit 235e0e10ed

View File

@@ -28,12 +28,12 @@
state: absent state: absent
# - name: Docker login to ECV private repository if not pull from local registry # - name: Docker login to ECV private repository if not pull from local registry
# community.docker.docker_login: community.docker.docker_login:
# registry: "{{ imagePushDomain }}" registry: "{{ imagePushDomain }}"
# username: "{{ registryUser }}" username: "{{ registryUser }}"
# password: "{{ registryPass }}" password: "{{ registryPass }}"
# state: present state: present
# when: not localRegistry | bool when: not localRegistry | bool
- name: Build demolamp image - name: Build demolamp image
community.docker.docker_image: community.docker.docker_image:
@@ -43,9 +43,9 @@
build: build:
path: "{{ build_root_abspath }}" path: "{{ build_root_abspath }}"
pull: false pull: false
# push: yes push: yes
# repository: "{{ demolamp.pushRepoName }}:{{ ansTagVer }}" repository: "{{ demolamp.pushRepoName }}:{{ ansTagVer }}"
# force_tag: yes force_tag: yes
# timeout: 300 timeout: 300
# state: present state: present