update token name
Build and Deploy / build-and-deploy (push) Successful in 23s

This commit is contained in:
2026-05-03 16:21:48 +02:00
parent a7bad87f43
commit f3dfdb2f90
+3 -3
View File
@@ -27,7 +27,7 @@ jobs:
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }} username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }} password: ${{ secrets.CI_TOKEN }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
@@ -40,13 +40,13 @@ jobs:
- name: Update image tag in gitops repo - name: Update image tag in gitops repo
env: env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} CI_TOKEN: ${{ secrets.CI_TOKEN }}
SHA: ${{ steps.tag.outputs.sha }} SHA: ${{ steps.tag.outputs.sha }}
run: | run: |
git config --global user.email "ci@idealconnected.com" git config --global user.email "ci@idealconnected.com"
git config --global user.name "Gitea CI" git config --global user.name "Gitea CI"
git clone \ git clone \
"https://${{ gitea.actor }}:${GITEA_TOKEN}@${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.GITOPS_REPO }}.git" \ "https://${{ gitea.actor }}:${CI_TOKEN}@${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.GITOPS_REPO }}.git" \
/tmp/gitops /tmp/gitops
cd /tmp/gitops cd /tmp/gitops
sed -i \ sed -i \