mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-25 06:49:28 +01:00
image:tag@digest format support
This commit is contained in:
15
test/dockerfile2/diun.yml
Normal file
15
test/dockerfile2/diun.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
watch:
|
||||
workers: 20
|
||||
schedule: "0 */6 * * *"
|
||||
firstCheckNotif: true
|
||||
|
||||
notif:
|
||||
script:
|
||||
cmd: "sh"
|
||||
args:
|
||||
- "/mount/notif.sh"
|
||||
|
||||
providers:
|
||||
dockerfile:
|
||||
patterns:
|
||||
- /mount/Dockerfile
|
||||
16
test/dockerfile2/mount/Dockerfile
Normal file
16
test/dockerfile2/mount/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
# diun.platform=linux/amd64
|
||||
FROM alpine:latest
|
||||
|
||||
# diun.platform=linux/amd64
|
||||
# diun.metadata.foo=bar
|
||||
RUN --mount=type=bind,target=.,rw \
|
||||
--mount=type=bind,from=crazymax/undock:0.5.0@sha256:736fdfde1268b93c2f733c53a7c45ece24e275318628fbb790bee7f89459961f,source=/usr/local/bin/undock,target=/usr/local/bin/undock \
|
||||
undock --version
|
||||
|
||||
# diun.platform=linux/amd64
|
||||
# diun.metadata.foo=bar
|
||||
RUN --mount=type=bind,target=.,rw \
|
||||
--mount=type=bind,from=crazymax/ddns-route53:foo@sha256:9cb3af44cdd00615266c87e60bc05cac534297be14c4596800b57322f9313615,source=/usr/local/bin/ddns-route53,target=/usr/local/bin/ddns-route53 \
|
||||
ddns-route53 --version
|
||||
1
test/dockerfile2/mount/notif.sh
Normal file
1
test/dockerfile2/mount/notif.sh
Normal file
@@ -0,0 +1 @@
|
||||
env|sort
|
||||
Reference in New Issue
Block a user