Skip to content

Commit 32afa22

Browse files
authored
fix: update curl image to overcome 'certificate has expired' issue (#4)
1 parent ebc37ca commit 32afa22

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM appropriate/curl:latest
1+
FROM curlimages/curl:latest
22

33
LABEL "version"="0.0.1"
44
LABEL "repository"="https://github.com/ShaunLWM/action-pushbullet"
@@ -10,5 +10,4 @@ LABEL "com.github.actions.icon"="send"
1010
LABEL "com.github.actions.color"="blue"
1111

1212
ADD entrypoint.sh /entrypoint.sh
13-
RUN chmod +x /entrypoint.sh
1413
ENTRYPOINT ["/entrypoint.sh"]

entrypoint.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
curl \
4-
--silent --output /dev/null \
4+
--silent --show-error \
55
-X POST \
66
--header "Content-Type: application/json" \
77
--header "Authorization: Bearer ${PB_TOKEN}" \

0 commit comments

Comments
 (0)