File tree Expand file tree Collapse file tree 4 files changed +56
-1
lines changed Expand file tree Collapse file tree 4 files changed +56
-1
lines changed Original file line number Diff line number Diff line change
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version : 2
7
+ updates :
8
+ - package-ecosystem : " github-actions"
9
+ directory : " /"
10
+ schedule :
11
+ interval : " weekly"
Original file line number Diff line number Diff line change
1
+ name : Docker Image CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ env :
10
+ REGISTRY : ghcr.io
11
+ IMAGE_NAME : ${{ github.repository }}
12
+
13
+ jobs :
14
+
15
+ build :
16
+ runs-on : ubuntu-latest
17
+ permissions :
18
+ contents : read
19
+ packages : write
20
+ steps :
21
+ - name : Checkout repository
22
+ uses : actions/checkout@v3
23
+
24
+ - name : Log in to the Container registry
25
+ uses : docker/login-action@v2
26
+ with :
27
+ registry : ${{ env.REGISTRY }}
28
+ username : ${{ github.actor }}
29
+ password : ${{ secrets.GITHUB_TOKEN }}
30
+
31
+ - name : Extract metadata (tags, labels) for Docker
32
+ id : meta
33
+ uses : docker/metadata-action@v4
34
+ with :
35
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
36
+
37
+ - name : Build and push Docker image
38
+ uses : docker/build-push-action@v3
39
+ with :
40
+ context : .
41
+ push : true
42
+ tags : ${{ steps.meta.outputs.tags }}
43
+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change @@ -8,3 +8,4 @@ robot_debug.py
8
8
/.config.json
9
9
/.config.json.example
10
10
/bot.db
11
+ .history /
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ADD . /app
6
6
7
7
RUN apt update && apt install gcc -y && apt clean
8
8
RUN /usr/local/bin/python -m pip install --upgrade pip
9
- RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
9
+ # RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
10
10
RUN pip install -r requirements.txt
11
11
12
12
ENTRYPOINT ["/app/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments