Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(Windows): add OpenSSH updatecli manifest #386

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions updatecli/updatecli.d/openssh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Bump OpenSSH version

scms:
default:
kind: github
spec:
user: "{{ .github.user }}"
email: "{{ .github.email }}"
owner: "{{ .github.owner }}"
repository: "{{ .github.repository }}"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
branch: "{{ .github.branch }}"

sources:
lastVersion:
kind: githubrelease
name: Get the latest OpenSSH version
spec:
owner: PowerShell
repository: Win32-OpenSSH
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"

targets:
setOpenSSHVersionNanoserver:
name: Update the OpenSSH version for Windows Nanoserver
kind: dockerfile
spec:
file: windows/nanoserver/Dockerfile
instruction:
keyword: ARG
matcher: OPENSSH_VERSION
scmid: default
setOpenSSHVersionWindowsServerCore:
name: Update the OpenSSH version for Windows Server Core
kind: dockerfile
spec:
file: windows/windowsservercore/Dockerfile
instruction:
keyword: ARG
matcher: OPENSSH_VERSION
scmid: default

actions:
default:
kind: github/pullrequest
title: Bump OpenSSH version to {{ source "lastVersion" }}
scmid: default
spec:
labels:
- enhancement
- openssh
- windows