diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index c1d2333..ac97443 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -45,16 +45,6 @@ jobs: ") echo "version=$VERSION" >> $GITHUB_OUTPUT - - name: Commit version bump - run: | - git config user.name "lunarfront-bot" - git config user.email "bot@lunarfront.tech" - git remote set-url origin https://lunarfront-bot:${{ secrets.BOT_TOKEN }}@git.lunarfront.tech/ryan/lunarfront-app.git - git add packages/backend/package.json - git commit -m "chore: bump version to v${{ steps.version.outputs.version }}" - git pull --rebase origin main - git push origin main - - name: Login to registry run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login registry.lunarfront.tech -u ryan --password-stdin @@ -85,6 +75,16 @@ jobs: docker push registry.lunarfront.tech/ryan/lunarfront-frontend:$SHA docker push registry.lunarfront.tech/ryan/lunarfront-frontend:latest + - name: Commit version bump + run: | + git config user.name "lunarfront-bot" + git config user.email "bot@lunarfront.tech" + git remote set-url origin https://lunarfront-bot:${{ secrets.BOT_TOKEN }}@git.lunarfront.tech/ryan/lunarfront-app.git + git add packages/backend/package.json + git commit -m "chore: bump version to v${{ steps.version.outputs.version }}" + git pull --rebase origin main + git push origin main + - name: Logout if: always() run: docker logout registry.lunarfront.tech