Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
Commit changes back
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Nov 2, 2023
1 parent d4637c5 commit 4bc8286
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/deploy_latest_registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,26 +54,25 @@ jobs:
rm deployment-api.yaml
mv deployment-api-NEW.yaml deployment-api.yaml
# - name: Update API Docker Image
# uses: fjogeleit/[email protected]
# with:
# valueFile: 'repo/manifests/registry/base/deployment-api.yaml'
# propertyPath: 'spec.template.spec.containers.0.image'
# value: ${{ env.REGISTRY_API_DOCKER_IMAGE }}
# commitChange: false

# - name: Update UI Docker Image
# uses: fjogeleit/[email protected]
# with:
# valueFile: 'repo/manifests/registry/base/deployment-ui.yaml'
# propertyPath: 'spec.template.spec.containers[:1].image'
# value: ${{ env.REGISTRY_UI_DOCKER_IMAGE }}
# commitChange: false
- name: Update UI Docker Image
run: |
cd repo/manifests/registry/base/
yaml set deployment-ui.yaml spec.template.spec.containers.0.image ${{ env.REGISTRY_UI_DOCKER_IMAGE }} > deployment-ui-NEW.yaml
rm deployment-ui.yaml
mv deployment-ui-NEW.yaml deployment-ui.yaml
- name: Cat Changed Deployment
- name: Verify Changed Deployment
run: |
cd repo
echo "---"
cat manifests/registry/base/deployment-api.yaml
echo "---"
git status
cat manifests/registry/base/deployment-ui.yaml
echo "---"
- name: Commit Changes
run: |
cd repo
git add .
git commit -m 'Automatic upgrade of Registry container images.'
git push origin main

0 comments on commit 4bc8286

Please sign in to comment.