File tree Expand file tree Collapse file tree
docs/content/en/docs/6_configuration_and_deployments/configurations
components/function-runner-config
examples/apps/hello-server Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 workflow_dispatch :
88
99env :
10- REGISTRY : docker .io
11- ORG : nephio
10+ REGISTRY : ghcr .io
11+ ORG : kptdev
1212
1313permissions :
1414 contents : read
@@ -22,13 +22,13 @@ jobs:
2222 matrix :
2323 include :
2424 - dockerfile : ./build/Dockerfile
25- image : docker .io/nephio /porch-server
25+ image : ghcr .io/kptdev /porch-server
2626 - dockerfile : ./controllers/Dockerfile
27- image : docker .io/nephio /porch-controllers
27+ image : ghcr .io/kptdev /porch-controllers
2828 - dockerfile : ./func/Dockerfile
29- image : docker .io/nephio /porch-function-runner
29+ image : ghcr .io/kptdev /porch-function-runner
3030 - dockerfile : ./func/Dockerfile-wrapperserver
31- image : docker .io/nephio /porch-wrapper-server
31+ image : ghcr .io/kptdev /porch-wrapper-server
3232 permissions :
3333 contents : read
3434 packages : write
5353 uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
5454 with :
5555 registry : ${{ env.REGISTRY }}
56- username : ${{ vars.DOCKERHUB_USERNAME }}
57- password : ${{ secrets.DOCKERHUB_TOKEN }}
56+ username : ${{ github.actor }}
57+ password : ${{ secrets.GITHUB_TOKEN }}
5858
5959 - name : Set up Docker Buildx
6060 uses : docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
Original file line number Diff line number Diff line change 77 - " v[0-9]+.[0-9]+.[0-9]-pre[0-9]+"
88
99env :
10- REGISTRY : docker .io
11- ORG : nephio
10+ REGISTRY : ghcr .io
11+ ORG : kptdev
1212
1313permissions :
1414 contents : read
@@ -22,13 +22,13 @@ jobs:
2222 matrix :
2323 include :
2424 - dockerfile : ./build/Dockerfile
25- image : docker .io/nephio /porch-server
25+ image : ghcr .io/kptdev /porch-server
2626 - dockerfile : ./controllers/Dockerfile
27- image : docker .io/nephio /porch-controllers
27+ image : ghcr .io/kptdev /porch-controllers
2828 - dockerfile : ./func/Dockerfile
29- image : docker .io/nephio /porch-function-runner
29+ image : ghcr .io/kptdev /porch-function-runner
3030 - dockerfile : ./func/Dockerfile-wrapperserver
31- image : docker .io/nephio /porch-wrapper-server
31+ image : ghcr .io/kptdev /porch-wrapper-server
3232 permissions :
3333 contents : read
3434 packages : write
5353 uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
5454 with :
5555 registry : ${{ env.REGISTRY }}
56- username : ${{ vars.DOCKERHUB_USERNAME }}
57- password : ${{ secrets.DOCKERHUB_TOKEN }}
56+ username : ${{ github.actor }}
57+ password : ${{ secrets.GITHUB_TOKEN }}
5858
5959 - name : Set up Docker Buildx
6060 uses : docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
Original file line number Diff line number Diff line change 3939 uses : ./.github/actions/setup-go-kpt
4040
4141 - name : Build porch blueprint
42- run : PATH=./bin:$PATH IMAGE_REPO=docker .io/nephio IMAGE_TAG=${{ github.ref_name }} PORCH_CACHE_TYPE=CR make deployment-config
42+ run : PATH=./bin:$PATH IMAGE_REPO=ghcr .io/kptdev IMAGE_TAG=${{ github.ref_name }} PORCH_CACHE_TYPE=CR make deployment-config
4343
4444 - name : Run GoReleaser
4545 id : run-goreleaser
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ export DEPLOYPORCHCONFIGDIR ?= $(BUILDDIR)/deploy
2626DEPLOYKPTCONFIGDIR =$(BUILDDIR ) /kpt_pkgs
2727
2828# Image configuration
29- export IMAGE_REPO ?= docker .io/nephio
30- export USER ?= nephio
29+ export IMAGE_REPO ?= ghcr .io/kptdev
30+ export USER ?= porch
3131
3232export IMAGE_TAG
3333ifndef IMAGE_TAG
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515IMAGE_TAG ?= latest
16- IMAGE_REPO ?= docker .io/nephio
16+ IMAGE_REPO ?= ghcr .io/kptdev
1717IMAGE_NAME ?= porch-controllers
1818
1919.PHONY : build-image docker-build
Original file line number Diff line number Diff line change 2626 spec:
2727 initContainers:
2828 - name: copy-wrapper-server
29- image: docker .io/nephio /porch-wrapper-server:latest
29+ image: ghcr .io/kptdev /porch-wrapper-server:latest
3030 command:
3131 - cp
3232 - -a
Original file line number Diff line number Diff line change 3535 serviceAccountName : porch-fn-runner
3636 containers :
3737 - name : function-runner
38- image : docker .io/nephio /porch-function-runner:latest
38+ image : ghcr .io/kptdev /porch-function-runner:latest
3939 imagePullPolicy : IfNotPresent
4040 securityContext :
4141 runAsNonRoot : true
5151 - --functions=/home/nonroot/functions
5252 env :
5353 - name : WRAPPER_SERVER_IMAGE
54- value : docker .io/nephio /porch-wrapper-server:latest
54+ value : ghcr .io/kptdev /porch-wrapper-server:latest
5555 - name : OTEL_METRICS_EXPORTER
5656 value : " prometheus"
5757 - name : OTEL_EXPORTER_PROMETHEUS_HOST
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ template:
2424 spec :
2525 initContainers :
2626 - name : copy-wrapper-server
27- image : docker .io/nephio /porch-wrapper-server:latest
27+ image : ghcr .io/kptdev /porch-wrapper-server:latest
2828 command :
2929 - cp
3030 - -a
Original file line number Diff line number Diff line change 4343 containers :
4444 - name : porch-server
4545 # Update image to the image of your porch apiserver build.
46- image : docker .io/nephio /porch-server:latest
46+ image : ghcr .io/kptdev /porch-server:latest
4747 imagePullPolicy : IfNotPresent
4848 securityContext :
4949 runAsNonRoot : true
Original file line number Diff line number Diff line change 4141 containers :
4242 - name : porch-controllers
4343 # Update to the image of your porch-controllers build.
44- image : docker .io/nephio /porch-controllers:latest
44+ image : ghcr .io/kptdev /porch-controllers:latest
4545 imagePullPolicy : IfNotPresent
4646 args :
4747 - --repositories.cache-type=DB
You can’t perform that action at this time.
0 commit comments