Skip to content

Commit 6fcb17c

Browse files
committed
fix: resolve hadolint warnings and add CHANGELOG
1 parent 22355de commit 6fcb17c

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Changelog
2+
3+
## [Unreleased]
4+
5+
### Changed
6+
7+
- Migrated from `rootlyhq/cli` to `rootlyhq/rootly-cli` as the underlying CLI tool
8+
- Dockerfile now installs `rootly-cli` from GitHub releases instead of using the deprecated `rootlyhq/cli` Docker image
9+
- Added `entrypoint.sh` to map GitHub Action inputs to `rootly-cli` flags
10+
- Command invocation changed from `rootly pulse <summary>` to `rootly pulse create <summary>`
11+
- Environment variable renamed from `ROOTLY_API_TOKEN` to `ROOTLY_API_KEY`
12+
13+
## [1.2.0] - 2024-10-21
14+
15+
### Changed
16+
17+
- Bump actions/checkout from 4 to 6
18+
19+
## [1.1.0] - 2023-06-01
20+
21+
### Changed
22+
23+
- Update README to use master branch
24+
- Add Dependabot for GitHub Actions
25+
26+
## [1.0.0] - 2022-10-01
27+
28+
### Added
29+
30+
- Initial release
31+
- Support for `summary`, `api_key`, `services`, `environments`, `labels`, `source`, and `refs` inputs
32+
- Docker-based GitHub Action using Alpine Linux
33+
- CI workflows for build and lint (hadolint)

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# hadolint ignore=DL3007
22
FROM alpine:3.21
33

4+
# hadolint ignore=DL3018
45
RUN apk add --no-cache curl
56

7+
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
8+
69
# Install rootly-cli from GitHub releases
710
ARG ROOTLY_CLI_VERSION=latest
811
RUN curl -fsSL "https://github.com/rootlyhq/rootly-cli/releases/latest/download/rootly-cli_$(curl -fsSL https://api.github.com/repos/rootlyhq/rootly-cli/releases/latest | grep '"tag_name"' | sed 's/.*"v\(.*\)".*/\1/')_linux_amd64.tar.gz" \

0 commit comments

Comments
 (0)