summaryrefslogtreecommitdiffstats
path: root/tests/roles/cli/tasks/bud.yaml
blob: 1f1c678a26610f7d7ea6d6e89093f294e9fc25cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
- name: buildah bud localfile
  command: buildah bud -t testing/nginx --pull /tmp/buildah/bud

- name: check bud images with buildah images command
  shell: buildah images | grep testing/nginx

- name: buildah bud -f localfile 
  command: buildah bud -t testing/nginx2 -f /tmp/buildah/bud/Dockerfile .

- name: buildah bud URL
  command: buildah bud -t testing/nginx3 http://localhost/bud/Dockerfile.tar.gz

- name: buildah build-using-dockerfile localfile
  command: buildah build-using-dockerfile -t testing/nginx4 /tmp/buildah/bud

- name: buildah build-using-dockerfile -f localfile
  command: buildah build-using-dockerfile -t testing/nginx5 --file /tmp/buildah/bud/Dockerfile .

- name: buildah build-using-dockerfile URL
  command: buildah build-using-dockerfile --tag testing/nginx6 http://localhost/bud/Dockerfile.tar.gz

- name: buildah rmi
  command: buildah rmi testing/nginx{2..6}