Job alignment for build and publish

Make job details match for build and publish jobs.

Ensure makefile exits at point when subscripts fail.

Change-Id: I1d19481fe5f8b594a84807d723fd3a550461291a
This commit is contained in:
Anderson, Craig (ca846m)
2021-02-20 15:28:43 -08:00
parent 0d0e3ecf96
commit 9178ff19e1
3 changed files with 22 additions and 7 deletions

View File

@@ -20,11 +20,18 @@
pkg:
- python-docker
- python3-docker
- pass
- python-requests
- python3-requests
- python3-pip
- python3-setuptools
state: present
become: true
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
- name: Install docker pip module
pip:
name: docker
executable: pip3
- name: Publish images
block:
- docker_login: