Skip to content

Commit 1451dbc

Browse files
committed
Tag stable on every release
`stable` only moved when someone ran docker-stable.yml by hand, and it had not been run since January 2025, so the tag pointed at a CLI about ten months old. The release build now tags `stable` alongside `latest` and the version tag. docker-stable.yml stays as a manual way to point `stable` at a different release, such as rolling back. Bumps to 2.12.2.
1 parent ec9f389 commit 1451dbc

7 files changed

Lines changed: 20 additions & 5 deletions

File tree

‎.github/workflows/docker-stable.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Every release already tags `stable`. Run this only to point `stable` at a
2+
# different release, such as rolling back from a bad one.
13
name: Mark Release as Stable
24
on:
35
workflow_dispatch:

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,11 @@ jobs:
126126
# Attach an SPDX SBOM generated from the built image, next to the
127127
# provenance attestation the action already adds.
128128
sbom: true
129+
# `stable` follows `latest`. To point it at an older release, run
130+
# docker-stable.yml.
129131
tags: |
130132
socketdev/cli:latest
133+
socketdev/cli:stable
131134
socketdev/cli:${{ env.VERSION }}
132135
build-args: |
133136
CLI_VERSION=${{ env.VERSION }}

‎CHANGELOG.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 2.12.2
4+
5+
### Changed
6+
7+
- Each release now also tags `socketdev/cli:stable`, so `stable` and `latest`
8+
both point at the newest release. Previously `stable` moved only when someone
9+
promoted a release by hand. Pin `socketdev/cli:<version>` for reproducible CI
10+
runs.
11+
312
## 2.12.1
413

514
### Changed: bump pinned Coana CLI to 15.15.1

‎docs/ci-cd.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,9 @@ console output and Dashboard association but does not post a PR comment.
526526

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

532533
```sh
533534
docker run --rm \

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "socketsecurity"
9-
version = "2.12.1"
9+
version = "2.12.2"
1010
requires-python = ">= 3.11"
1111
license = {"file" = "LICENSE"}
1212
dependencies = [

‎socketsecurity/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__author__ = 'socket.dev'
2-
__version__ = '2.12.1'
2+
__version__ = '2.12.2'
33
USER_AGENT_NAME = 'socket-python-cli'
44
USER_AGENT = f'{USER_AGENT_NAME}/{__version__}'

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)