File tree Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Original file line number Diff line number Diff line change 12
12
paths :
13
13
- backend/**
14
14
15
+ defaults :
16
+ run :
17
+ working-directory : /backend
18
+
15
19
jobs :
16
20
deploy :
17
21
runs-on : ubuntu-latest
31
35
32
36
- name : Change Directory to build folder
33
37
run : cd build/
34
-
35
- # - name: Overwrite file
36
- # uses: "DamianReeves/write-file-action@master"
37
- # with:
38
- # path: nixpacks.toml
39
- # write-mode: overwrite
40
- # contents: |
41
- # [phases.setup]
42
- # nixpkgsArchive = 'bc901a14315f03cb02d5be6d7e4c8075cd0fe36c'
43
-
44
- - name : Set up QEMU
45
- uses : docker/setup-qemu-action@v2
46
- - name : Set up Docker Buildx
47
- uses : docker/setup-buildx-action@v2
48
-
49
- - name : Login to Docker Hub
50
- uses : docker/login-action@v2
51
- with :
52
- username : ${{ secrets.DOCKER_USERNAME }}
53
- password : ${{ secrets.DOCKER_TOKEN }}
54
-
55
- - name : Build and push
56
- uses : docker/build-push-action@v4
57
- with :
58
- context : build/
59
- push : true
60
- tags : dungngminh/server:latest
You can’t perform that action at this time.
0 commit comments