-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathargocd-image-updater-0.15.2-r0.yaml
50 lines (45 loc) · 1.48 KB
/
argocd-image-updater-0.15.2-r0.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package:
name: argocd-image-updater-0.15.2-r0
version: 0.15.2
epoch: 100
description: Automatic container image update for Argo CD
copyright:
- license: Apache-2.0
dependencies:
runtime:
- aws-cli-2
- ca-certificates
- git
- gpg
- openssh-client
- tini
pipeline:
- uses: git-checkout
with:
repository: https://github.com/argoproj-labs/argocd-image-updater
tag: v${{package.version}}
expected-commit: abc00725c94c1f8657b53e688be2e4ee8a5e7e57
- uses: go/bump
with:
deps: github.com/golang-jwt/jwt/[email protected] golang.org/x/[email protected] golang.org/x/[email protected]
- uses: go/build
with:
packages: ./cmd/
output: argocd-image-updater
ldflags: |
-X github.com/argoproj-labs/argocd-image-updater/pkg/version.version=${{package.version}}
-X github.com/argoproj-labs/argocd-image-updater/pkg/version.gitCommit=$(git rev-parse HEAD)
-X github.com/argoproj-labs/argocd-image-updater/pkg/version.buildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
subpackages:
- name: ${{package.name}}-compat
description: argocd-image-updater compat to put binary at expected place by stream
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/local/bin
ln -sf /usr/bin/argocd-image-updater ${{targets.subpkgdir}}/usr/local/bin/argocd-image-updater
update:
enabled: true
github:
identifier: argoproj-labs/argocd-image-updater
strip-prefix: v
tag-filter: v