Skip to content

Commit 42f2096

Browse files
feat: add external-images-syncer workflow (#133)
* add external-images-syncer workflow * ignore changes to external-images.yml in build job
1 parent c4e46f0 commit 42f2096

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ on:
77
push:
88
branches: [ "main" ]
99
tags: [ '*.*.*' ]
10+
paths-ignores:
11+
- 'external-images.yml'
1012
pull_request:
1113
branches: [ "main" ]
14+
paths-ignores:
15+
- 'external-images.yml'
1216

1317
env:
1418
# Use docker.io for Docker Hub if empty
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
name: sync-external-images
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- "external-images.yml"
10+
pull_request_target:
11+
types: [ opened, edited, synchronize, reopened, ready_for_review ]
12+
branches:
13+
- main
14+
paths:
15+
- "external-images.yml"
16+
17+
permissions:
18+
id-token: write # This is required for requesting the JWT token
19+
contents: read # This is required for actions/checkout
20+
21+
jobs:
22+
sync-external-images:
23+
uses: kyma-project/test-infra/.github/workflows/image-syncer.yml@main
24+
with:
25+
debug: true

external-images.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
images:
3+
- source: golang@sha256:2d40d4fc278dad38be0777d5e2a88a2c6dee51b0b29c97a764fc6c6a11ca893c
4+
tag: 1.24.0-alpine3.2
5+
amd64Only: true

0 commit comments

Comments
 (0)