Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions incubating/slack-post-channel/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM python:3.11.0a7-alpine3.15
RUN pip3 install slack_sdk
FROM python:3.15.2-alpine3.24
RUN apk upgrade --no-cache && pip3 install --no-cache-dir --upgrade pip slack_sdk

COPY lib/slack.py /slack/slack.py
ENTRYPOINT [ "python3", "/slack/slack.py" ]
6 changes: 3 additions & 3 deletions incubating/slack-post-channel/step.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: step-type
version: '1.0'
metadata:
name: slack-post-channel
version: 0.0.7
version: 0.0.8
title: Send a Slack message to a channel
isPublic: true
description: Send a message to a named Slack channel (instead of using a webhook URL)
Expand Down Expand Up @@ -51,7 +51,7 @@ spec:
},
"SLACK_IMAGE_VERSION": {
"type": "string",
"default": "0.0.7",
"default": "0.0.8",
"description": "Version (tag) of the slack-post-channel image to use."
},
"SLACK_TOKEN": {
Expand Down Expand Up @@ -93,7 +93,7 @@ spec:
image: [[.Arguments.SLACK_IMAGE]]:[[.Arguments.SLACK_IMAGE_VERSION]]
environment:
[[ range $key, $val := .Arguments ]]
- '[[ $key ]]=[[ $val ]]'
- [[ printf "%v=%v" $key $val | printf "%q" ]]
[[- end ]]
delimiters:
left: '[['
Expand Down
Loading