-
Notifications
You must be signed in to change notification settings - Fork 132
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
feat: latest changes #4940
feat: latest changes #4940
Changes from 130 commits
d6432ae
021a0e8
3d7fdca
f9ec6de
5e41609
ea55792
2d1c7d7
64ffb5f
1e90ad7
87655eb
110290b
d39a8ae
9fd606d
51caafa
0a390e7
cc25be8
600f1a8
740c952
d7bec40
94ddfe5
f4ffbcf
9f5ccc5
f0df49f
d9c77cd
5925361
21b498f
80c9807
b56be73
e6286c2
6ef90d9
79e38f3
e1127f0
8efb269
ea652d2
cad1774
6af9152
86ced8b
2d829dc
e517059
8ef2ccd
6306ad9
8617462
22f0022
84ba40f
d1cdc4b
da67e43
26ffb0a
5cc4c53
019e82a
823f4f5
2259e9c
15a03aa
ede8db8
56f6d67
f1e726b
83fa883
6f3643a
d396160
58df8ae
bb695bc
0e89c42
64683c2
7435328
94d2ab0
b9fa14c
9b5b4a9
f13c947
2aa2002
b80ce78
70ed08c
98a255f
006f787
1bc0381
0a286e2
57ec5a4
3816e73
a63eb4b
129470b
aff493b
da0e1ac
eecfa9f
47241f3
0fad5b2
354467f
88b1775
dc7ccd3
6308a06
1acd131
a53f26e
68bfb3a
b97161d
40a597a
eb9c898
d0c837b
4901f3f
7a927b8
04ed38c
8e47d51
3ef4598
85899d0
b6eb2e6
74e2526
c997b88
e660188
0ca234e
dcee053
18e6c5e
61f1290
72a7466
a6b2812
a33d8ca
fe5b31f
8133ce8
a53e418
43883c3
62fb735
515b5a5
24cc463
b9233fc
a3cb43d
81dcd7e
8d1bec2
1cc81e1
5d70876
efd84fa
9771787
febf4f5
d5ce30e
442d5d4
1d07d3a
d6bd966
fa5d0c3
54af0a8
97584db
e94424f
e293cbc
1d460a7
b686000
1006618
32d4c18
eeeffde
449616d
d9b2c09
bf751e1
68efc4c
5c75fea
39e3890
c69263b
36ef09c
7f2c566
2c1c363
6d00e0a
92c1479
4362b7c
470d89a
915e90f
42ac0a3
9d4495f
9a6a35c
63e9f64
1b2a5d2
766cf12
4260761
750def3
838f47e
d878dba
69c5cbd
8e2b21a
b211017
c076857
562090e
39c14b0
2d12234
615b275
9bfec74
da98c10
285642b
edfce28
fdd6039
2e92b18
dff2031
cff2899
9b1ceeb
acf0126
4a3ceb1
3d90f05
82cb901
96653b4
0209089
0e83cff
739b815
4d2f8d3
4e275af
49ce993
adc30b7
79fd519
c29618e
431a60f
69a7bbc
24315a1
d0531b5
1fa2354
757d61d
563b1ad
ef77feb
f74d4b2
a6b809f
fffa4a4
0efd12b
2d3ff85
4daff68
2a0ed87
d4264af
4ef1911
3e0f5e8
e63c055
4908473
1387364
573eebf
0bbb6c6
1110e96
eb95557
c1a162f
2f4e925
5f003de
70612f0
74346c7
105122c
a55fa1f
8eff341
e195879
4322bec
95130a3
31e99f8
2de1614
1a7a52e
49b629c
a1e46f4
75727ce
3f3d142
b415cb6
9a6bdc2
ae2b596
16614c5
7a1519c
2c0da59
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,9 +62,11 @@ | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Get github sha | ||
id: github_sha | ||
run: echo "::set-output name=sha_short::${GITHUB_SHA::7}" | ||
- name: Get tag | ||
id: tag | ||
uses: dawidd6/action-get-tag@v1 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
with: | ||
strip_v: true | ||
|
||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v4 | ||
|
@@ -82,13 +84,20 @@ | |
DOCKER_BUILDX_CACHE_FROM: "type=gha" | ||
DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max" | ||
ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} | ||
DOCKER_IMAGE_TAG: ${{ steps.github_sha.outputs.sha_short }} | ||
DOCKER_IMAGE_TAG: ${{steps.tag.outputs.tag}} | ||
|
||
- name: Push Docker images | ||
if: matrix.name == 'linux' | ||
run: | | ||
docker push kubeshop/testkube-cli:${{ steps.github_sha.outputs.sha_short }}-arm64v8 | ||
docker push kubeshop/testkube-cli:${{ steps.github_sha.outputs.sha_short }}-amd64 | ||
docker push kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-arm64v8 | ||
docker push kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-amd64 | ||
|
||
# adding the docker manifest for the latest image tag | ||
docker manifest create kubeshop/testkube-cli:latest --amend kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-amd64 --amend kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-arm64v8 | ||
docker manifest push -p kubeshop/testkube-cli:latest | ||
|
||
docker manifest create kubeshop/testkube-cli:${{steps.tag.outputs.tag}} --amend kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-amd64 --amend kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-arm64v8 | ||
docker manifest push -p kubeshop/testkube-cli:${{steps.tag.outputs.tag}} | ||
|
||
- name: Push README to Dockerhub | ||
if: matrix.name == 'linux' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,9 @@ | |
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- uses: sigstore/[email protected] | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
- uses: anchore/sbom-action/[email protected] | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
|
@@ -59,28 +62,14 @@ | |
with: | ||
distribution: goreleaser-pro | ||
version: latest | ||
args: release -f ./goreleaser_files/.goreleaser-docker-build-logs-server.yml --skip-publish | ||
args: release -f ./goreleaser_files/.goreleaser-docker-build-logs-server.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} | ||
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution | ||
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} | ||
DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}" | ||
DOCKER_BUILDX_CACHE_FROM: "type=gha" | ||
DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max" | ||
ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} | ||
DOCKER_IMAGE_TAG: ${{ steps.github_sha.outputs.sha_short }} | ||
|
||
- name: Push Docker images | ||
run: | | ||
docker push kubeshop/testkube-logs-server:${{ steps.github_sha.outputs.sha_short }}-arm64v8 | ||
docker push kubeshop/testkube-logs-server:${{ steps.github_sha.outputs.sha_short }}-amd64 | ||
# adding the docker manifest for the latest image tag | ||
docker manifest create kubeshop/testkube-logs-server:latest \ | ||
kubeshop/testkube-logs-server:${{ steps.github_sha.outputs.sha_short }}-amd64 \ | ||
kubeshop/testkube-logs-server:${{ steps.github_sha.outputs.sha_short }}-arm64v8 | ||
docker manifest annotate kubeshop/testkube-logs-server:latest kubeshop/testkube-logs-server:${{ steps.github_sha.outputs.sha_short }}-amd64 --arch amd64 | ||
docker manifest annotate kubeshop/testkube-logs-server:latest kubeshop/testkube-logs-server:${{ steps.github_sha.outputs.sha_short }}-arm64v8 --arch arm64 --variant v8 | ||
docker manifest push kubeshop/testkube-logs-server:latest | ||
|
||
- name: Push README to Dockerhub | ||
uses: christian-korneck/update-container-description-action@v1 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,9 @@ | |
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- uses: sigstore/[email protected] | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
- uses: anchore/sbom-action/[email protected] | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
|
@@ -59,28 +62,14 @@ | |
with: | ||
distribution: goreleaser-pro | ||
version: latest | ||
args: release -f ./goreleaser_files/.goreleaser-docker-build-logs-sidecar.yml --skip-publish | ||
args: release -f ./goreleaser_files/.goreleaser-docker-build-logs-sidecar.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} | ||
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution | ||
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} | ||
DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}" | ||
DOCKER_BUILDX_CACHE_FROM: "type=gha" | ||
DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max" | ||
ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} | ||
DOCKER_IMAGE_TAG: ${{ steps.github_sha.outputs.sha_short }} | ||
|
||
- name: Push Docker images | ||
run: | | ||
docker push kubeshop/testkube-logs-sidecar:${{ steps.github_sha.outputs.sha_short }}-arm64v8 | ||
docker push kubeshop/testkube-logs-sidecar:${{ steps.github_sha.outputs.sha_short }}-amd64 | ||
# adding the docker manifest for the latest image tag | ||
docker manifest create kubeshop/testkube-logs-sidecar:latest \ | ||
kubeshop/testkube-logs-sidecar:${{ steps.github_sha.outputs.sha_short }}-amd64 \ | ||
kubeshop/testkube-logs-sidecar:${{ steps.github_sha.outputs.sha_short }}-arm64v8 | ||
docker manifest annotate kubeshop/testkube-logs-sidecar:latest kubeshop/testkube-logs-sidecar:${{ steps.github_sha.outputs.sha_short }}-amd64 --arch amd64 | ||
docker manifest annotate kubeshop/testkube-logs-sidecar:latest kubeshop/testkube-logs-sidecar:${{ steps.github_sha.outputs.sha_short }}-arm64v8 --arch arm64 --variant v8 | ||
docker manifest push kubeshop/testkube-logs-sidecar:latest | ||
|
||
- name: Push README to Dockerhub | ||
uses: christian-korneck/update-container-description-action@v1 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,12 +63,14 @@ | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Get github sha | ||
id: github_sha | ||
run: echo "::set-output name=sha_short::${GITHUB_SHA::7}" | ||
- name: Get tag | ||
id: tag | ||
uses: dawidd6/action-get-tag@v1 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
with: | ||
strip_v: true | ||
|
||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
uses: goreleaser/goreleaser-action@v4 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 0: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
with: | ||
distribution: goreleaser-pro | ||
version: latest | ||
|
@@ -83,20 +85,20 @@ | |
DOCKER_BUILDX_CACHE_FROM: "type=gha" | ||
DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max" | ||
ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }} | ||
DOCKER_IMAGE_TAG: ${{ steps.github_sha.outputs.sha_short }} | ||
DOCKER_IMAGE_TAG: ${{steps.tag.outputs.tag}} | ||
|
||
- name: Push Docker images | ||
if: matrix.name == 'linux' | ||
run: | | ||
docker push kubeshop/testkube-cli:${{ steps.github_sha.outputs.sha_short }}-arm64v8 | ||
docker push kubeshop/testkube-cli:${{ steps.github_sha.outputs.sha_short }}-amd64 | ||
docker push kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-arm64v8 | ||
docker push kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-amd64 | ||
|
||
# adding the docker manifest for the latest image tag | ||
docker manifest create kubeshop/testkube-cli:latest \ | ||
kubeshop/testkube-cli:${{ steps.github_sha.outputs.sha_short }}-amd64 \ | ||
kubeshop/testkube-cli:${{ steps.github_sha.outputs.sha_short }}-arm64v8 | ||
docker manifest annotate kubeshop/testkube-cli:latest kubeshop/testkube-cli:${{ steps.github_sha.outputs.sha_short }}-amd64 --arch amd64 | ||
docker manifest annotate kubeshop/testkube-cli:latest kubeshop/testkube-cli:${{ steps.github_sha.outputs.sha_short }}-arm64v8 --arch arm64 --variant v8 | ||
docker manifest push kubeshop/testkube-cli:latest | ||
docker manifest create kubeshop/testkube-cli:latest --amend kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-amd64 --amend kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-arm64v8 | ||
docker manifest push -p kubeshop/testkube-cli:latest | ||
|
||
docker manifest create kubeshop/testkube-cli:${{steps.tag.outputs.tag}} --amend kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-amd64 --amend kubeshop/testkube-cli:${{steps.tag.outputs.tag}}-arm64v8 | ||
docker manifest push -p kubeshop/testkube-cli:${{steps.tag.outputs.tag}} | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@master | ||
|
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium