File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 77
88permissions :
99 contents : write # required to write to github release.
10+ packages : write
11+ actions : write
1012
1113jobs :
1214 release :
4244 PROD_REGISTRY : " ghcr.io/nutanix-cloud-native"
4345 GH_ORG_NAME : nutanix-cloud-native
4446 TAG : ${{ env.RELEASE_TAG }}
47+ images :
48+ name : Push images
49+ runs-on : ubuntu-latest
50+ steps :
51+ - name : checkout code
52+ uses : actions/checkout@v5
53+ with :
54+ fetch-depth : 0
55+ - name : Set up Go
56+ uses : actions/setup-go@v6
57+ with :
58+ go-version : ' 1.24'
59+ - name : Login to GitHub Container Registry
60+ uses : docker/login-action@v3
61+ with :
62+ registry : ghcr.io
63+ username : ${{ github.actor }}
64+ password : ${{ secrets.GITHUB_TOKEN }}
65+ - name : Push docker images
66+ run : |
67+ make docker-build-all
68+ make docker-push-all
69+ env :
70+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
71+ REGISTRY : " ghcr.io/nutanix-cloud-native"
72+ PROD_REGISTRY : " ghcr.io/nutanix-cloud-native"
73+ GH_ORG_NAME : nutanix-cloud-native
74+ TAG : ${{ env.RELEASE_TAG }}
Original file line number Diff line number Diff line change @@ -587,8 +587,6 @@ release: clean-release check-release-tag check-release-branch $(RELEASE_DIR) $(G
587587 CORE_CONTROLLER_IMG=$(PROD_REGISTRY ) /$(CORE_IMAGE_NAME ) $(MAKE ) release-manifests
588588 $(MAKE ) release-policies
589589 $(GORELEASER ) release --config $(GORELEASER_CONFIG ) --release-notes $(RELEASE_DIR ) /CHANGELOG.md --clean --parallelism $(GORELEASER_PARALLELISM )
590- $(MAKE ) docker-build-all
591- $(MAKE ) docker-push-all
592590
593591release-policies : $(RELEASE_POLICIES ) # # Release policies
594592
You can’t perform that action at this time.
0 commit comments