*Initial version

This commit is contained in:
Derrick Hammer 2022-12-06 15:15:49 -05:00
parent 4bfe92a54b
commit 1cf9bdc78a
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 11 additions and 0 deletions

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM digitalocean/doctl
ADD app.sh .
ENTRYPOINT ["/bin/bash"]
CMD ["/app/app.sh"]

5
app.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
export DIGITALOCEAN_ACCESS_TOKEN=$PLUGIN_DIGITALOCEAN_ACCESS_TOKEN
/app/doctl compute cdn flush $PLUGIN_DIGITALOCEAN_CDN_ID