1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-01 06:10:22 +02:00

[CI] Tag docker images with the commit sha (#2418)

We do not release stable tags often. To avoid using `latest`, for instance in Kubernetes manifests, this change allows to reference a repository commit. This way it is easy to lock image to a specific commit, and try and rollback if a change to a newer commit brings regressions.
This commit is contained in:
Quentin de Longraye
2022-01-09 10:09:28 +01:00
committed by GitHub
parent 12ff697ab0
commit 2f957b6870

View File

@@ -28,6 +28,7 @@ jobs:
${{ env.GHCR_SLUG }}
tags: |
type=raw,value=latest
type=sha
type=ref,event=tag,enable=${{ startsWith(github.ref, 'refs/tags/20') }}
type=raw,value=stable,enable=${{ startsWith(github.ref, 'refs/tags/20') }}
-