Skip to content

Instantly share code, notes, and snippets.

@olblak
Last active February 29, 2024 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olblak/fe1ff4acc9ae4a887392f784d8ccc6da to your computer and use it in GitHub Desktop.
Save olblak/fe1ff4acc9ae4a887392f784d8ccc6da to your computer and use it in GitHub Desktop.
Update updatecli arg from Dockerfile
name: 'deps: bump updatelci version'
pipelineid: 'updatecli'
scms:
default:
kind: github
spec:
owner: OctopusDeploy
repository: WorkerTools
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
branch: master
sources:
updatecli:
name: "get latest Updatecli version"
kind: "githubrelease"
spec:
owner: "updatecli"
repository: "updatecli"
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
versionfilter:
kind: "semver"
targets:
ubuntu:
name: "deps: bump updatecli version in Docker images"
kind: "dockerfile"
sourceid: updatecli
scmid: default
spec:
files:
- "ubuntu.22.04/Dockerfile"
- "ubuntu.18.04/Dockerfile"
- "windows.ltsc2019/Dockerfile"
- "windows.ltsc2022/Dockerfile"
instruction:
keyword: "ARG"
matcher: "updatecli"
actions:
default:
title: 'ci: bump Venom version to {{ source "updatecli" }}'
kind: github/pullrequest
spec:
automerge: false
labels:
- chore
- skip-changelog
scmid: default
@olblak
Copy link
Author

olblak commented Feb 29, 2024

updatecli diff --config e2e/updatecli.d/success.d/test.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment