Skip to content

Commit 2fb456c

Browse files
committed
add kubectl image
1 parent faee071 commit 2fb456c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/kubectl.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
mtr.devops.telekom.de/mcsps/kubectl
2525
ghcr.io/mcsps/kubectl
2626
tags: |
27-
type=ref,event=branch
28-
#type=semver,pattern={{version}},value=v1.31.0 # change also in the Dockerfile
27+
type=semver,pattern={{version}},value=v1.31.0 # change also in the Dockerfile
2928
- name: Install Cosign
3029
uses: sigstore/cosign-installer@main
3130
with:

kubectl/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM alpine:latest
2-
LABEL org.opencontainers.image.source = "https://github.com/mcsps/docker-images"
2+
LABEL org.opencontainers.image.source="https://github.com/mcsps/docker-images"
33

44
RUN apk --no-cache add ca-certificates bash curl git jq openssl
55
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.31.0/bin/linux/amd64/kubectl && chmod +x kubectl && mv kubectl /usr/local/bin/kubectl

0 commit comments

Comments
 (0)