diff --git a/tasks/hello-world.yml b/tasks/hello-world.yml index efe9f18..f9b0d84 100644 --- a/tasks/hello-world.yml +++ b/tasks/hello-world.yml @@ -1,8 +1,8 @@ platform: linux image_resource: - type: registry-image - source: { repository: busybox } + type: mock + source: { mirror_self: true } run: path: echo diff --git a/tasks/print-date.yml b/tasks/print-date.yml new file mode 100644 index 0000000..8ca7db3 --- /dev/null +++ b/tasks/print-date.yml @@ -0,0 +1,9 @@ +platform: linux + +image_resource: + type: mock + source: { mirror_self: true } + +run: + path: date + args: ["+%Y-%m-%d"]