add dy path check #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
name: Docker Image CI | |
on: | |
#是否展示手动点击按钮 | |
workflow_dispatch: | |
# push 自动触发 | |
push: | |
branches: [ master ] | |
# pull_request: | |
# branches: [ master ] | |
#定时执行 | |
# schedule: | |
# - cron: 15 1 * * * | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag xueyikang/stealer | |
- name: login docker hub | |
run: docker login -u xueyikang -p ${{ secrets.CREDENTIAL }} | |
- name: Push the Docker image | |
run: docker push xueyikang/stealer | |