We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a11784 commit 3a49d87Copy full SHA for 3a49d87
.github/workflows/release-image.yml
@@ -2,13 +2,14 @@ name: Release as container image
2
3
on:
4
push:
5
- # TODO publish on tag
6
branches:
7
- main
+ tags:
8
+ - '*'
9
10
env:
11
IMAGE_NAME: quay.io/manusa/kubernetes_mcp_server
- TAG: latest
12
+ TAG: ${{ github.ref_name == 'main' && 'latest' || github.ref_type == 'tag' && github.ref_name && startsWith(github.ref_name, 'v') && github.ref_name || 'unknown' }}
13
14
jobs:
15
publish-platform-images:
0 commit comments