Merge pull request #209 from chenjianghua666/master #24
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
on: | |
push: | |
branches: | |
- master | |
name: build docker | |
jobs: | |
run: | |
name: Run | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v2 | |
- name: login docker hub | |
run: docker login -u ${{ secrets.name }} -p ${{ secrets.pass }} | |
- name: build docker | |
run: | | |
docker build . -f docker/Dockerfile -t tarscloud/tarsweb-independent:latest | |
- name: push docker | |
run: | | |
docker push tarscloud/tarsweb-independent:latest |