Skip to content

Commit

Permalink
try to fix mpc docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
cyjseagull committed Dec 12, 2024
1 parent 879bff8 commit 7d6943c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,29 @@ jobs:
echo "* Build wedpr-pro-node-service docker: ${NODE_DOCKER_TAG} success"
docker push ${NODE_DOCKER_TAG}
echo "* Push wedpr-pro-node-service docker: ${NODE_DOCKER_TAG} success"
# Note: build mpc docker separate for disk space limitation consideration
build-mpc-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get branch name
uses: nelonoel/[email protected]
- name: Fetch tag
run: |
git fetch --tags --force
- name: Login to Docker Hub
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3
with:
username: ${{ secrets.DOCKER_FISCOPR_USER }}
password: ${{ secrets.DOCKER_FISCOPR_TOKEN }}
- name: Get git tag
uses: little-core-labs/[email protected]
id: tag_data
with:
tagRegex: (.*) # Optional. Returns specified group text as tag name. Full tag string is returned if regex is not defined.
tagRegexGroup: 1 # Optional. Default is 1.
# the wedpr-mpc-service image
- name: Build and Push wedpr-mpc-service images
run: |
Expand Down

0 comments on commit 7d6943c

Please sign in to comment.