Skip to content

Commit f2cfaaf

Browse files
zakiskchmouel
authored andcommitted
fix: use fully qualified urls for images in .tekton
adds fully qualified urls for images across .tekton directory in tekton resources. Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
1 parent aea8830 commit f2cfaaf

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.tekton/doc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
value: $(workspaces.source.path)
5959

6060
- name: hugo-gen
61-
image: golang:1.25
61+
image: docker.io/golang:1.25
6262
workingDir: $(workspaces.source.path)
6363
env:
6464
- name: UPLOADER_PUBLIC_URL
@@ -82,7 +82,7 @@ spec:
8282
echo "Preview URL: ${url}"
8383
- name: upload-to-static-server
8484
# it has curl and we already pulled it
85-
image: curlimages/curl
85+
image: docker.io/curlimages/curl
8686
workingDir: $(workspaces.source.path)
8787
env:
8888
- name: HUB_TOKEN

.tekton/generate-coverage-release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ spec:
5757
- name: workingdir
5858
value: $(workspaces.source.path)
5959
- name: unittest
60-
image: golang:1.25
60+
image: docker.io/golang:1.25
6161
workingDir: $(workspaces.source.path)
6262
env:
6363
- name: GOCACHE
@@ -70,7 +70,7 @@ spec:
7070
GO_TEST_FLAGS="-v -coverprofile=coverage.txt -covermode=atomic"
7171
- name: codecov
7272
# Has everything we need in there and we already fetched it!
73-
image: golang:1.25
73+
image: docker.io/golang:1.25
7474
workingDir: $(workspaces.source.path)
7575
env:
7676
- name: CODECOV_TOKEN
@@ -88,7 +88,7 @@ spec:
8888
chmod +x ./codecov
8989
./codecov -C {{revision}} -v
9090
- name: upload-release
91-
image: golang:1.25
91+
image: docker.io/golang:1.25
9292
workingDir: $(workspaces.source.path)
9393
env:
9494
- name: HUB_TOKEN

.tekton/go.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
- name: unittest
5757
# we get bumped out when usingh the official image with docker.io
5858
# ratelimit so workaround this.
59-
image: golang:1.25
59+
image: docker.io/golang:1.25
6060
env:
6161
- name: GOCACHE
6262
value: $(workspaces.source.path)/go-build-cache/cache
@@ -71,7 +71,7 @@ spec:
7171
make test
7272
7373
- name: coverage
74-
image: golang:1.25
74+
image: docker.io/golang:1.25
7575
env:
7676
- name: CODECOV_TOKEN
7777
valueFrom:
@@ -97,7 +97,7 @@ spec:
9797
chmod +x ./codecov
9898
./codecov -P $GITHUB_PULL_REQUEST_ID -C {{revision}} -v
9999
- name: lint
100-
image: golangci/golangci-lint:latest
100+
image: docker.io/golangci/golangci-lint:latest
101101
workingDir: $(workspaces.source.path)
102102
env:
103103
- name: GOCACHE

.tekton/linter.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ spec:
5454
codespell -d docs/content pkg test
5555
- name: shellcheck
5656
displayName: "Shell scripts linter"
57-
image: koalaman/shellcheck-alpine
57+
image: docker.io/koalaman/shellcheck-alpine
5858
workingDir: $(workspaces.source.path)
5959
script: |
6060
shellcheck $(find hack/ -type f -regex ".*sh" -print)
@@ -166,7 +166,7 @@ spec:
166166
167167
- name: check-generated-schemas
168168
displayName: "Check generated OpenAPI schemas"
169-
image: golang:1.25
169+
image: docker.io/golang:1.25
170170
workingDir: $(workspaces.source.path)
171171
env:
172172
- name: HUB_TOKEN
@@ -198,7 +198,7 @@ spec:
198198
199199
- name: yamllint
200200
displayName: "YAML Linter"
201-
image: cytopia/yamllint
201+
image: docker.io/cytopia/yamllint
202202
workingDir: $(workspaces.source.path)
203203
script: |
204204
set -euxo pipefail
@@ -224,7 +224,7 @@ spec:
224224
225225
- name: markdownlint
226226
displayName: "Markdown Linter"
227-
image: thegeeklab/markdownlint-cli
227+
image: docker.io/thegeeklab/markdownlint-cli
228228
workingDir: $(workspaces.source.path)
229229
script: |
230230
markdownlint $(find . -type f -regex ".*md" -not -regex '^./vendor/.*' -not -regex "^./docs/themes/.*" -not -regex './.vale/.*' -not -regex "^./.git/.*" -print)

0 commit comments

Comments
 (0)