Use the latest version of the docker image:

```
--- a/.drone.yml
+++ b/.drone.yml
@@ -10,7 +10,7 @@ steps:
       - grep -l -r "http://www.amazon.co.jp/exec" content/ | sort | uniq | xargs -t --no-run-if-empty sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g"

   - name: generate-ogp-images
-    image: reg.kazu634.com/kazu634/tcardgen:v0.3
+    image: reg.kazu634.com/kazu634/tcardgen
     commands:
       - find /root -type f -name *.ttf | xargs -t -I% -n 1 cp -p % assets/font/
       - find content/ -type f -name '*.md' | grep -v '_index' | xargs -t -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null
```
This commit is contained in:
Kazuhiro MUSASHI 2022-08-20 21:13:29 +09:00
parent 7a80629e69
commit f7ac62ea3e
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ steps:
- grep -l -r "http://www.amazon.co.jp/exec" content/ | sort | uniq | xargs -t --no-run-if-empty sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g" - grep -l -r "http://www.amazon.co.jp/exec" content/ | sort | uniq | xargs -t --no-run-if-empty sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g"
- name: generate-ogp-images - name: generate-ogp-images
image: reg.kazu634.com/kazu634/tcardgen:v0.3 image: reg.kazu634.com/kazu634/tcardgen
commands: commands:
- find /root -type f -name *.ttf | xargs -t -I% -n 1 cp -p % assets/font/ - find /root -type f -name *.ttf | xargs -t -I% -n 1 cp -p % assets/font/
- find content/ -type f -name '*.md' | grep -v '_index' | xargs -t -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null - find content/ -type f -name '*.md' | grep -v '_index' | xargs -t -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null