Skip to content

Commit b24d75f

Browse files
authored
Merge pull request #154 from rtCamp/update/slack-action
Update Action Dockerfile
2 parents c753c78 + c287713 commit b24d75f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ ENV GOOS linux
1515
RUN go get -v ./...
1616
RUN go build -a -installsuffix cgo -ldflags '-w -extldflags "-static"' -o /go/bin/slack-notify .
1717

18-
# alpine:latest at 2020-01-18T01:19:37.187497623Z
19-
FROM alpine@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d
18+
# alpine:latest at 2023-08-23T11:48:25.468623934UTC
19+
FROM alpine@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a
2020

2121
COPY --from=builder /go/bin/slack-notify /usr/bin/slack-notify
2222

@@ -25,14 +25,14 @@ ENV VAULT_VERSION 1.0.2
2525
RUN apk update \
2626
&& apk upgrade \
2727
&& apk add \
28-
bash \
29-
jq \
30-
ca-certificates \
31-
python \
32-
py2-pip \
33-
rsync && \
34-
pip install shyaml && \
35-
rm -rf /var/cache/apk/*
28+
bash \
29+
jq \
30+
ca-certificates \
31+
python3 \
32+
py3-pip \
33+
rsync \
34+
&& pip3 install shyaml \
35+
&& rm -rf /var/cache/apk/*
3636

3737
# Setup Vault
3838
RUN wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && \

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 'This action will send a notification to Slack'
33
author: 'rtCamp'
44
runs:
55
using: 'docker'
6-
image: 'docker://ghcr.io/rtcamp/action-slack-notify:v2.2.0'
6+
image: 'docker://ghcr.io/rtcamp/action-slack-notify:v2.2.1'
77
branding:
88
icon: 'bell'
99
color: 'yellow'

0 commit comments

Comments
 (0)