diff --git a/.github/workflows/generate-swagger.yaml b/.github/workflows/generate-swagger.yaml index f68ad7bd..4627fba8 100644 --- a/.github/workflows/generate-swagger.yaml +++ b/.github/workflows/generate-swagger.yaml @@ -49,15 +49,13 @@ jobs: permissions: contents: write if: ${{ needs.changes.outputs.proto == 'true' }} + container: ghcr.io/cosmos/proto-builder:0.14.0 + steps: - uses: actions/checkout@v3 - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Generate Swagger File run: | - git config --global --add safe.directory /workspace - make proto-swagger-gen + sh ./scripts/protoc-swagger-gen.sh - name: Commit Changes uses: stefanzweifel/git-auto-commit-action@v5