nwl-ci/playbooks/getting_started/build-jenkins-docker-image.yml

14 lines
334 B
YAML

- name: Build Jenkins Docker Image
hosts: linux
gather_facts: false
vars:
root_path: "~/nwl-ci"
tasks:
- name: Build the Jenkins Image
register: buildDocker
ansible.builtin.shell: |
docker build -t jenkins:nwl-0.0.3 .
args:
chdir: "{{root_path}}/docker"
executable: /bin/bash