mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-25 10:56:18 +03: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:
parent
12ff697ab0
commit
2f957b6870
1 changed files with 1 additions and 0 deletions
1
.github/workflows/dockerbuild.yml
vendored
1
.github/workflows/dockerbuild.yml
vendored
|
@ -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') }}
|
||||
-
|
||||
|
|
Loading…
Reference in a new issue