-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enforce snippet config and test new action
- Loading branch information
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,11 +36,15 @@ jobs: | |
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Setup cluster | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | ||
uses: Alfresco/alfresco-build-tools/.github/actions/setup-kind@OPSEXP-2242-kindaction | ||
with: | ||
nginx-ingress-ref: controller-v1.8.2 | ||
|
||
- name: Create registries auth secret | ||
if: ${{ ! github.event.repository.fork }} | ||
run: | | ||
kubectl -n ingress-nginx patch cm ingress-nginx-controller \ | ||
-p '{"data": {"allow-snippet-annotations":"true"}}' | ||
kubectl create secret generic regcred \ | ||
--from-file=.dockerconfigjson=$HOME/.docker/config.json \ | ||
--type=kubernetes.io/dockerconfigjson | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,10 +97,14 @@ jobs: | |
password: ${{ secrets.QUAY_PASSWORD }} | ||
|
||
- name: Setup cluster | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | ||
uses: Alfresco/alfresco-build-tools/.github/actions/setup-kind@OPSEXP-2242-kindaction | ||
with: | ||
nginx-ingress-ref: controller-v1.8.2 | ||
|
||
- name: Create registries auth secret | ||
run: | | ||
kubectl -n ingress-nginx patch cm ingress-nginx-controller \ | ||
-p '{"data": {"allow-snippet-annotations":"true"}}' | ||
kubectl create secret generic regcred \ | ||
--from-file=.dockerconfigjson=$HOME/.docker/config.json \ | ||
--type=kubernetes.io/dockerconfigjson | ||
|