Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

faet: #4759 venus-sealer : add docker feature #202

Merged
merged 7 commits into from
Jun 10, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat:add publish dockerimage action on main branch
  • Loading branch information
LinZexiao committed May 13, 2022
commit b99f413c689d84660e927206449b0cdd59ffc956
9 changes: 9 additions & 0 deletions .github/workflows/tag-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,12 @@ jobs:
--data-urlencode "description=message:${{steps.vars.outputs.git_message}}, branch:${{steps.vars.outputs.branch}}, commit:${{steps.vars.outputs.short}}, tag:${{steps.vars.outputs.github_tag}}" \
--data-urlencode "version=${{steps.vars.outputs.short}}"
set -e

- name: Build the Docker image
if: ${{ steps.vars.outputs.pub_method=='pushRelease' }}
run: |
docker build . --file dockerfile --tag filvenus/venus-sealer:latest
docker tag filvenus/venus-sealer:latest filvenus/venus-sealer:${{steps.vars.outputs.github_tag }}
docker login --username=filvenus --password ${{ secrets.DOCKER_PASSWORD }}
docker push filvenus/venus-sealer:${{steps.vars.outputs.github_tag }}
docker push filvenus/venus-sealer:latest