mirror of
https://github.com/containers/kubernetes-mcp-server.git
synced 2025-10-23 01:22:57 +03:00
ci: release Container image on tag
This commit is contained in:
5
.github/workflows/release-image.yml
vendored
5
.github/workflows/release-image.yml
vendored
@@ -2,13 +2,14 @@ name: Release as container image
|
||||
|
||||
on:
|
||||
push:
|
||||
# TODO publish on tag
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
env:
|
||||
IMAGE_NAME: quay.io/manusa/kubernetes_mcp_server
|
||||
TAG: latest
|
||||
TAG: ${{ github.ref_name == 'main' && 'latest' || github.ref_type == 'tag' && github.ref_name && startsWith(github.ref_name, 'v') && github.ref_name || 'unknown' }}
|
||||
|
||||
jobs:
|
||||
publish-platform-images:
|
||||
|
||||
Reference in New Issue
Block a user