Commit f4c0531 1 parent 415e46e commit f4c0531 Copy full SHA for f4c0531
File tree 1 file changed +11
-7
lines changed
1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
paths :
7
7
- tools/BUILD_CONTAINER_VERSION
8
+ branches :
9
+ - master
10
+ pull_request :
11
+ branches : ["master"]
8
12
9
13
jobs :
10
14
docker :
@@ -13,11 +17,11 @@ jobs:
13
17
- name : Set up Docker Buildx
14
18
uses : docker/setup-buildx-action@v2
15
19
16
- - name : Login to Docker Hub
17
- uses : docker/login-action@v2
18
- with :
19
- username : ${{ secrets.DOCKERHUB_USERNAME }}
20
- password : ${{ secrets.DOCKERHUB_TOKEN }}
20
+ # - name: Login to Docker Hub
21
+ # uses: docker/login-action@v2
22
+ # with:
23
+ # username: ${{ secrets.DOCKERHUB_USERNAME }}
24
+ # password: ${{ secrets.DOCKERHUB_TOKEN }}
21
25
22
26
- uses : actions/checkout@v4
23
27
30
34
- name : Build and push docker image
31
35
uses : docker/build-push-action@v4
32
36
with :
33
- context : .
34
- file : ./tools/ Dockerfile
37
+ context : ./tools
38
+ file : ./Dockerfile
35
39
platforms : linux/amd64
36
40
push : true
37
41
tags : dragonos/dragonos-dev:${{ steps.fetch-versions.outputs.build_container_version }}
You can’t perform that action at this time.
0 commit comments