32be2d9067
To test current buildx we need a later skopeo that understands the OCI manifest formats. c.f. the zuul-executor image updates with Iab667a92a5b6e6f8591db2aa435a782913d9d34f. A recent enough version (1.9) isn't packaged for any LTS distros. So add an upstream option, but it's only implemented (for now) on Jammy, where we will test with it. Change-Id: I206a3cbfb16575f409771d96c2b7e49929e61a49
22 lines
446 B
YAML
22 lines
446 B
YAML
- hosts: all
|
|
roles:
|
|
- ensure-skopeo
|
|
|
|
- hosts: all
|
|
tasks:
|
|
|
|
- name: Additionally test from source on Ubuntu 22.04
|
|
when: ansible_distribution_release == 'jammy'
|
|
include_role:
|
|
name: ensure-skopeo
|
|
vars:
|
|
ensure_skopeo_install_from_upstream: true
|
|
|
|
- name: Exercise skopeo
|
|
command: /usr/bin/skopeo -v
|
|
register: output
|
|
|
|
- name: Debug output
|
|
debug:
|
|
msg: '{{ output.stdout }}'
|