From 7d3603cb81f93ce5cd5f46dd6eee573f19dc69e4 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 11 Apr 2022 22:58:43 -0700 Subject: [PATCH] Update updater for 2.2.0 --- .github/workflows/update-docker-images.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-docker-images.yml b/.github/workflows/update-docker-images.yml index d64d5ffe00..90f6c0706c 100644 --- a/.github/workflows/update-docker-images.yml +++ b/.github/workflows/update-docker-images.yml @@ -56,7 +56,7 @@ jobs: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" echo "::set-output name=sha_long::$(git rev-parse HEAD)" echo "::set-output name=go_version::$(grep "go 1." go.mod | cut -d " " -f 2)" - echo "::set-output name=k8s_version::$(grep "K8S_VERSION:" .github/workflows/ci.yml | awk -F" " '{print $2}')" + echo "::set-output name=k8s_version::$(grep -m1 'FROM kindest/node' org.opencontainers.image.revision=${{ needs.variables.outputs.sha_long }} + io.artifacthub.package.readme-url=https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/main/README.md + io.artifacthub.package.logo-url=https://docs.nginx.com/nginx-ingress-controller/images/icons/NGINX-Ingress-Controller-product-icon.svg + io.artifacthub.package.maintainers=[{"name":"NGINX Inc","email":"kubernetes@nginx.com"}] + io.artifacthub.package.license=Apache-2.0 + io.artifacthub.package.keywords=kubernetes,ingress,nginx,controller if: ${{ matrix.needs-updating == 'true' }} - name: Push to Dockerhub id: push