File tree Expand file tree Collapse file tree 3 files changed +2
-70
lines changed
Expand file tree Collapse file tree 3 files changed +2
-70
lines changed Original file line number Diff line number Diff line change 1- name : Deploy to Docker Hub and Render
1+ name : Deploy to Render
22
33on :
44 push :
88 - ' **.md'
99
1010jobs :
11- build-and-push :
12- runs-on : ubuntu-latest
13-
14- steps :
15- - name : Checkout repository
16- uses : actions/checkout@v3
17-
18- - name : Set up QEMU (for multi-arch support)
19- uses : docker/setup-qemu-action@v2
20-
21- - name : Set up Docker Buildx
22- uses : docker/setup-buildx-action@v2
23-
24- - name : Log in to Docker Hub
25- uses : docker/login-action@v2
26- with :
27- username : ${{ secrets.DOCKERHUB_USERNAME }}
28- password : ${{ secrets.DOCKERHUB_PASSWORD }}
29-
30- - name : Build and push Docker image
31- uses : docker/build-push-action@v4
32- with :
33- context : .
34- file : ./Dockerfile
35- platforms : linux/amd64
36- push : true
37- tags : seanyl/deepgit:app
38-
3911 deploy-to-render :
40- needs : build-and-push
4112 runs-on : ubuntu-latest
4213
4314 steps :
5324 else
5425 echo "Render deployment failed!" >&2
5526 exit 1
56- fi
27+ fi
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments