Skip to content

Commit

Permalink
Merge pull request #154 from rtCamp/update/slack-action
Browse files Browse the repository at this point in the history
Update Action Dockerfile
  • Loading branch information
mrrobot47 authored Aug 23, 2023
2 parents c753c78 + c287713 commit b24d75f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 && \
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit b24d75f

Please sign in to comment.