Skip to content
Open
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
2 changes: 2 additions & 0 deletions .github/workflows/docker-stable.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Every release already tags `stable`. Run this only to point `stable` at a
# different release, such as rolling back from a bad one.
name: Mark Release as Stable
on:
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,11 @@ jobs:
# Attach an SPDX SBOM generated from the built image, next to the
# provenance attestation the action already adds.
sbom: true
# `stable` follows `latest`. To point it at an older release, run
# docker-stable.yml.
tags: |
socketdev/cli:latest
socketdev/cli:stable
socketdev/cli:${{ env.VERSION }}
build-args: |
CLI_VERSION=${{ env.VERSION }}
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 2.12.2

### Changed

- Each release now also tags `socketdev/cli:stable`, so `stable` and `latest`
both point at the newest release. Previously `stable` moved only when someone
promoted a release by hand. Pin `socketdev/cli:<version>` for reproducible CI
runs.

## 2.12.1

### Changed: bump pinned Coana CLI to 15.15.1
Expand Down
5 changes: 3 additions & 2 deletions docs/ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,9 @@ console output and Dashboard association but does not post a PR comment.

`socketdev/cli` on Docker Hub packages the CLI with the toolchains reachability
analysis runs on: Node.js, Go, Java, .NET, Rust, Ruby, pyenv, and PyPy on
`linux/amd64`. The toolchains are most of the image's size. Tags are published
per release (`socketdev/cli:<version>`), plus `latest` and `stable`.
`linux/amd64`. The toolchains are most of the image's size. Each release is
published as `socketdev/cli:<version>`, and `latest` and `stable` both point at
the newest release. Pin a version tag for reproducible CI runs.

```sh
docker run --rm \
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"

[project]
name = "socketsecurity"
version = "2.12.1"
version = "2.12.2"
requires-python = ">= 3.11"
license = {"file" = "LICENSE"}
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion socketsecurity/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__author__ = 'socket.dev'
__version__ = '2.12.1'
__version__ = '2.12.2'
USER_AGENT_NAME = 'socket-python-cli'
USER_AGENT = f'{USER_AGENT_NAME}/{__version__}'
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading