File tree Expand file tree Collapse file tree 3 files changed +117
-0
lines changed
Expand file tree Collapse file tree 3 files changed +117
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Push
2+
3+ on :
4+ push :
5+ branches :
6+ [ master ]
7+
8+ jobs :
9+ build-and-push :
10+ runs-on : ubuntu-latest
11+ name : Build and Push # 固定任务名称
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Docker Buildx
17+ uses : docker/setup-buildx-action@v3
18+
19+ - name : Log in to Docker Hub
20+ uses : docker/login-action@v3
21+ with :
22+ username : ${{ secrets.DOCKER_USERNAME }}
23+ password : ${{ secrets.DOCKER_PASSWORD }}
24+
25+ - name : Build and push Docker image
26+ uses : docker/build-push-action@v6
27+ with :
28+ context : .
29+ file : ./Dockerfile
30+ push : true
31+ tags : ${{ secrets.DOCKER_USERNAME }}/videogen:${{ github.sha }},${{ secrets.DOCKER_USERNAME }}/videogen:latest
Original file line number Diff line number Diff line change 1+ __pycache__ /
2+ * .py [cod ]
3+ * $py.class
4+ * .so
5+ .Python
6+ build /
7+ develop-eggs /
8+ dist /
9+ downloads /
10+ eggs /
11+ .eggs /
12+ lib /
13+ lib64 /
14+ parts /
15+ sdist /
16+ var /
17+ wheels /
18+ share /python-wheels /
19+ * .egg-info /
20+ .installed.cfg
21+ * .egg
22+ MANIFEST
23+ pip-log.txt
24+ pip-delete-this-directory.txt
25+ htmlcov /
26+ .tox /
27+ .nox /
28+ .coverage
29+ .coverage. *
30+ .cache
31+ nosetests.xml
32+ coverage.xml
33+ * .cover
34+ * .py,cover
35+ .hypothesis /
36+ .pytest_cache /
37+ cover /
38+ * .mo
39+ * .pot
40+ __pypackages__ /
41+ .Trashes
42+ .metadata_never_index
43+ .fseventsd /
44+ boot_out.txt
45+ * .manifest
46+ * .spec
47+ * .log
48+ local_settings.py
49+ db.sqlite3
50+ db.sqlite3-journal
51+ instance /
52+ .webassets-cache
53+ .scrapy
54+ docs /_build /
55+ .pybuilder /
56+ target /
57+ .ipynb_checkpoints
58+ profile_default /
59+ ipython_config.py
60+ .pdm.toml
61+ celerybeat-schedule
62+ celerybeat.pid
63+ * .sage.py
64+ .env
65+ .venv
66+ env /
67+ venv /
68+ ENV /
69+ env.bak /
70+ venv.bak /
71+ .spyderproject
72+ .spyproject
73+ .ropeproject
74+ /site
75+ .mypy_cache /
76+ .dmypy.json
77+ dmypy.json
78+ .pyre /
79+ .pytype /
80+ cython_debug /
You can’t perform that action at this time.
0 commit comments