File tree Expand file tree Collapse file tree 2 files changed +36
-2
lines changed
Expand file tree Collapse file tree 2 files changed +36
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Continuous Deployment
33on : workflow_dispatch
44
55jobs :
6- build :
6+ deploy-app :
77 name : Build and deploy app
88 runs-on : ubuntu-latest
99 steps :
2828 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
2929 HOMEBREW_TOOLS_TOKEN : ${{ secrets.HOMEBREW_TOOLS_TOKEN }}
3030 GIT_EMAIL : ${{ secrets.GIT_EMAIL }}
31+
32+ deploy-redis-stunnel :
33+ name : Build and deploy redis-stunnel Docker image
34+ runs-on : ubuntu-latest
35+ steps :
36+ - name : Checkout code
37+ uses : actions/checkout@v3
38+
39+ - name : Login to Docker Hub
40+ uses : docker/login-action@v2
41+ with :
42+ username : ${{ secrets.DOCKERHUB_USERNAME }}
43+ password : ${{ secrets.DOCKERHUB_TOKEN }}
44+
45+ - name : Build and push Docker image
46+ uses : docker/build-push-action@v4
47+ with :
48+ context : ./docker
49+ push : true
50+ tags : osrecki/redis-stunnel:latest
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Continuous Integration
33on : push
44
55jobs :
6- build :
6+ build-app :
77 name : Build app
88 runs-on : ubuntu-latest
99 strategy :
2626
2727 - name : Build
2828 run : npm run bundle
29+
30+ build-redis-stunnel :
31+ name : Build redis-stunnel Docker image
32+ runs-on : ubuntu-latest
33+ steps :
34+ - name : Checkout code
35+ uses : actions/checkout@v3
36+
37+ - name : Build Docker image
38+ uses : docker/build-push-action@v4
39+ with :
40+ context : ./docker
41+ push : false
42+ tags : osrecki/redis-stunnel:latest
You can’t perform that action at this time.
0 commit comments