File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Docker Image builder
22
33on :
4- push :
5- branches : [ main ]
6- pull_request :
7- branches : [ main ]
4+ workflow_dispatch :
5+ inputs :
6+ repository :
7+ default : us-west1-docker.pkg.dev/dremio-1093/dremio
8+ description : Repository to push the image to. Image name is fixed to 'dremio-mcp-server' and tag is calculated at runtime
9+ required : true
10+ type : string
811
912jobs :
1013 build :
6568 head_sha=$(git rev-parse --short HEAD)
6669 timestamp=$(date -u +"%Y%m%d%H%M%S")
6770
68- # This tag follows the same convention as https://github.com/dremio/opensearch-k8s-operator/blob/main/.github/workflows/publish.yaml#L17
6971 tag="${timestamp}-${head_sha}"
7072
7173 echo "tag=$tag" | tee -a "$GITHUB_OUTPUT"
8284 context : .
8385 push : true
8486 tags : |
85- us-west1-docker.pkg.dev/dremio-1093/dremio /dremio-mcp-server:${{ steps.tag.outputs.tag }}
87+ ${{ inputs.repository }} /dremio-mcp-server:${{ steps.tag.outputs.tag }}
8688
8789
You can’t perform that action at this time.
0 commit comments