Skip to content

Commit

Permalink
🌱 Add process to build the images for kube-rbac-proxy and publish in …
Browse files Browse the repository at this point in the history
…GitHub rehistry
  • Loading branch information
camilamacedo86 committed Apr 8, 2024
1 parent 79d0fbb commit 019637e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-rbac-images-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
branches:
- master
# paths:
# - 'release-rbac-images-versions.yaml'
# - 'hack/release/kube-rbac-proxy/images-versions.yaml'

permissions:
contents: read
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Read versions from YAML and check for existing images
run: |
VERSIONS=$(yq e '.versions[]' release-rbac-images-versions.yaml)
VERSIONS=$(yq e '.versions[]' hack/release/kube-rbac-proxy/images-versions.yaml)
for VERSION in $VERSIONS; do
EXISTS=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://ghcr.io/v2/${{ github.repository_owner }}/kube-rbac-proxy/manifests/$VERSION)
if [ "$EXISTS" -ne 200 ]; then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Update this file to build new releases for the images
# Update this file to build new release for the images
# of the project https://github.com/brancz/kube-rbac-proxy
versions:
- v0.16.0

0 comments on commit 019637e

Please sign in to comment.