We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80594b8 commit cbdd5d5Copy full SHA for cbdd5d5
.github/workflows/build-and-deploy.yml
@@ -51,9 +51,18 @@ jobs:
51
image: ghcr.io/fuellabs/fuel-mcp-server
52
dockerfile: deployment/Dockerfile
53
context: .
54
+
55
+ - name: Check if indexer image exists
56
+ id: check-indexer
57
+ run: |
58
+ if docker manifest inspect ghcr.io/fuellabs/fuel-mcp-server-indexer:latest >/dev/null 2>&1; then
59
+ echo "indexer-exists=true" >> $GITHUB_OUTPUT
60
+ else
61
+ echo "indexer-exists=false" >> $GITHUB_OUTPUT
62
+ fi
63
64
- name: Build and push indexer image
- if: steps.check-docs.outputs.docs-changed == 'true'
65
+ if: steps.check-docs.outputs.docs-changed == 'true' || steps.check-indexer.outputs.indexer-exists == 'false'
66
uses: ./.github/actions/docker-publish
67
id: publish-indexer
68
with:
0 commit comments