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
2
2
3
3
on :
4
4
push :
8
8
- ' **.md'
9
9
10
10
jobs :
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
-
39
11
deploy-to-render :
40
- needs : build-and-push
41
12
runs-on : ubuntu-latest
42
13
43
14
steps :
53
24
else
54
25
echo "Render deployment failed!" >&2
55
26
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