diff --git a/Dockerfile b/Dockerfile index 13df54f..566ec47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,8 @@ ENV GOOS linux RUN go get -v ./... RUN go build -a -installsuffix cgo -ldflags '-w -extldflags "-static"' -o /go/bin/slack-notify . -# alpine:latest at 2020-01-18T01:19:37.187497623Z -FROM alpine@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d +# alpine:latest at 2023-08-23T11:48:25.468623934UTC +FROM alpine@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a COPY --from=builder /go/bin/slack-notify /usr/bin/slack-notify @@ -25,14 +25,14 @@ ENV VAULT_VERSION 1.0.2 RUN apk update \ && apk upgrade \ && apk add \ - bash \ - jq \ - ca-certificates \ - python \ - py2-pip \ - rsync && \ - pip install shyaml && \ - rm -rf /var/cache/apk/* + bash \ + jq \ + ca-certificates \ + python3 \ + py3-pip \ + rsync \ + && pip3 install shyaml \ + && rm -rf /var/cache/apk/* # Setup Vault RUN wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && \ diff --git a/action.yml b/action.yml index 5e51adb..5f36fca 100644 --- a/action.yml +++ b/action.yml @@ -3,7 +3,7 @@ description: 'This action will send a notification to Slack' author: 'rtCamp' runs: using: 'docker' - image: 'docker://ghcr.io/rtcamp/action-slack-notify:v2.2.0' + image: 'docker://ghcr.io/rtcamp/action-slack-notify:v2.2.1' branding: icon: 'bell' color: 'yellow'