File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 6565 working-directory : ./web
6666 run : docker run --rm -v $GITHUB_WORKSPACE/dist:/stackgog/dist web sh -c "npm run build"
6767
68+ - name : Display structure of dist
69+ run : ls -R $GITHUB_WORKSPACE/dist
6870# - name: npm install
6971# working-directory: ./web
7072# run: npm install
@@ -101,6 +103,9 @@ jobs:
101103 tar -czvf ../app.tar.gz .
102104 cd ..
103105
106+ - name : Display structure of dist
107+ run : ls -R app/stackdog/dist
108+
104109 - name : Upload app archive for Docker job
105110 uses : actions/upload-artifact@v2.2.2
106111 with :
@@ -123,6 +128,9 @@ jobs:
123128 - name : Display structure of downloaded files
124129 run : ls -R
125130
131+ - name : Display structure of dist
132+ run : ls -R dist
133+
126134 - name : Docker build and publish
127135 uses : docker/build-push-action@v1
128136 with :
Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ version: '3'
33services :
44 stackdog :
55 container_name : backend
6- build :
7- context : .
8- dockerfile : docker/local/Dockerfile
9- # entrypoint: [ 'bash', '-c', 'sleep infinity' ]
6+ image : trydirect/stackdog:latest
7+ # build:
8+ # context: .
9+ # dockerfile: docker/local/Dockerfile
10+ entrypoint : [ 'bash', '-c', 'sleep infinity' ]
1011# restart: always
1112 ports :
1213 - " 5000:5000"
13- env_file : .env
14+ env_file : .env
You can’t perform that action at this time.
0 commit comments