feat(sgx): get taskset parameters from env #2811
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Fedlearner | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set Short Commit Sha | |
id: vars | |
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | |
- uses: whoan/docker-build-with-cache-action@v5 | |
with: | |
username: fedlearner | |
password: "${{ secrets.DOCKER_REGISTRY }}" | |
image_name: fedlearner | |
image_tag: ${{ steps.vars.outputs.sha_short }} | |
context: ./ |