@@ -124,137 +124,3 @@ jobs:
124124 org.opencontainers.image.source=${{ github.event.repository.clone_url }}
125125 org.opencontainers.image.created=${{ steps.prep.outputs.created }}
126126 org.opencontainers.image.revision=${{ github.sha }}
127-
128- # - name: Login to Dockerhub Registry
129- # uses: docker/login-action@v3
130- # with:
131- # username: ${{ secrets.STAKATER_DOCKERHUB_USERNAME }}
132- # password: ${{ secrets.STAKATER_DOCKERHUB_PASSWORD }}
133-
134- # - name: Generate image repository path for DockerHub registry
135- # run: |
136- # echo IMAGE_REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
137-
138- # - name: Build and push image to DockerHub registry
139- # uses: docker/build-push-action@v5
140- # with:
141- # context: .
142- # file: ${{ env.DOCKER_FILE_PATH }}
143- # pull: true
144- # push: true
145- # build-args: BUILD_PARAMETERS=${{ env.BUILD_PARAMETERS }}
146- # cache-from: type=gha
147- # cache-to: type=gha,mode=max
148- # platforms: linux/amd64,linux/arm,linux/arm64
149- # tags: |
150- # ${{ env.IMAGE_REPOSITORY }}:${{ steps.generate_tag.outputs.new_tag }}
151- # labels: |
152- # org.opencontainers.image.source=${{ github.event.repository.clone_url }}
153- # org.opencontainers.image.created=${{ steps.prep.outputs.created }}
154- # org.opencontainers.image.revision=${{ github.sha }}
155-
156- # #############################
157- # # Add steps to generate required artifacts for a release here(helm chart, operator manifest etc.)
158- # #############################
159-
160- # # Generate tag for operator without "v"
161- # - name: Generate Operator Tag
162- # id: generate_operator_tag
163- # uses: anothrNick/[email protected] 164- # env:
165- # GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
166- # WITH_V: false
167- # DEFAULT_BUMP: patch
168- # DRY_RUN: true
169-
170- # # Install operator-sdk
171- # - name: Install operator-sdk
172- # uses: redhat-actions/openshift-tools-installer@v1
173- # with:
174- # source: "github"
175- # operator-sdk: ${{ env.OPERATOR_SDK_VERSION }}
176-
177- # # Install kustomize
178- # - name: Install kustomize
179- # uses: imranismail/setup-kustomize@v2
180- # with:
181- # kustomize-version: ${{ env.KUSTOMIZE_VERSION }}
182-
183- # - name: Generate Bundle
184- # env:
185- # VERSION: ${{ steps.generate_operator_tag.outputs.new_tag }}
186- # IMG: ${{ env.IMAGE_REPOSITORY }}:${{ steps.generate_tag.outputs.new_tag }}
187- # run: make bundle
188-
189- # - name: Verify bundle
190- # run: operator-sdk bundle validate ./bundle --select-optional name=operatorhub
191-
192- # - name: Build and push Bundle Image
193- # uses: docker/build-push-action@v5
194- # with:
195- # context: .
196- # file: ${{ env.BUNDLE_DOCKER_FILE_PATH }}
197- # pull: true
198- # push: true
199- # cache-to: type=inline
200- # tags: |
201- # ${{ env.IMAGE_REPOSITORY }}-bundle:${{ steps.generate_tag.outputs.new_tag }}
202- # labels: |
203- # org.opencontainers.image.source=${{ github.event.repository.clone_url }}
204- # org.opencontainers.image.created=${{ steps.prep.outputs.created }}
205- # org.opencontainers.image.revision=${{ github.sha }}
206-
207- # # Update chart tag to the latest semver tag
208- # - name: Update Chart Version
209- # env:
210- # VERSION: ${{ steps.generate_operator_tag.outputs.new_tag }}
211- # run: make bump-chart
212-
213- # - name: Update Chart CRDs
214- # run: make generate-crds
215-
216- # # Publish helm chart
217- # - name: Publish Helm chart
218- # uses: stefanprodan/helm-gh-pages@master
219- # with:
220- # branch: master
221- # repository: stakater-charts
222- # target_dir: docs
223- # token: ${{ secrets.GHCR_TOKEN }}
224- # charts_dir: charts/
225- # charts_url: ${{ env.HELM_REGISTRY_URL }}
226- # owner: stakater
227- # linting: on
228- # commit_username: stakater-user
229- 230-
231- # # Commit back changes
232- # - name: Commit files
233- # run: |
234- # git config --local user.email "[email protected] " 235- # git config --local user.name "stakater-user"
236- # git status
237- # git add .
238- # git commit -m "[skip-ci] Update artifacts" -a
239-
240- # - name: Push changes
241- # uses: ad-m/github-push-action@master
242- # with:
243- # github_token: ${{ secrets.PUBLISH_TOKEN }}
244-
245- # # Push Latest Tag
246- # - name: Push Latest Tag
247- # uses: anothrNick/[email protected] 248- # env:
249- # GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
250- # WITH_V: true
251- # DEFAULT_BUMP: patch
252-
253- # - name: Notify Slack
254- # uses: 8398a7/action-slack@v3
255- # if: always() # Pick up events even if the job fails or is canceled.
256- # with:
257- # status: ${{ job.status }}
258- # fields: repo,author,action,eventName,ref,workflow
259- # env:
260- # SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }}
0 commit comments