forgejo CI: drop manifest-bump steps; argocd-image-updater handles it now
This commit is contained in:
parent
d87eeab375
commit
279403bdb9
1 changed files with 0 additions and 18 deletions
|
|
@ -44,21 +44,3 @@ jobs:
|
|||
docker build -t "${IMAGE}:${TAG}" -t "${IMAGE}:main" .
|
||||
docker push "${IMAGE}:${TAG}"
|
||||
docker push "${IMAGE}:main"
|
||||
|
||||
- name: Update deployment manifest
|
||||
run: |
|
||||
IMAGE="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
|
||||
TAG="${{ steps.tag.outputs.tag }}"
|
||||
sed -i "s|image: ${IMAGE}:.*|image: ${IMAGE}:${TAG}|g" k8s/deployment.yaml
|
||||
|
||||
- name: Commit and push updated manifest
|
||||
run: |
|
||||
IMAGE="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
|
||||
TAG="${{ steps.tag.outputs.tag }}"
|
||||
git config user.name "FluxCD"
|
||||
git config user.email "fluxcd@w5isp.com"
|
||||
git remote set-url origin https://x-token:${{ github.token }}@git.mcintire.me/graham/aprs.me.git
|
||||
git add k8s/deployment.yaml
|
||||
git diff --cached --quiet && echo "No changes to commit" && exit 0
|
||||
git commit -m "chore: update aprs.me image to ${IMAGE}:${TAG} [skip ci]"
|
||||
git push origin main
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue