File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build edge image
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - develop
7
+
8
+ jobs :
9
+ docker :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ -
13
+ name : Checkout
14
+ uses : actions/checkout@v2
15
+ -
16
+ name : Set up QEMU
17
+ uses : docker/setup-qemu-action@v1
18
+ -
19
+ name : Set up Docker Buildx
20
+ uses : docker/setup-buildx-action@v1
21
+ -
22
+ name : Login to DockerHub
23
+ uses : docker/login-action@v1
24
+ with :
25
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
26
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
27
+ -
28
+ name : Login to GitHub Container Registry
29
+ uses : docker/login-action@v1
30
+ with :
31
+ registry : ghcr.io
32
+ username : ${{ github.repository_owner }}
33
+ password : ${{ secrets.GITHUB_TOKEN }}
34
+ -
35
+ name : Build and push
36
+ uses : docker/build-push-action@v2
37
+ with :
38
+ context : .
39
+ platforms : linux/amd64,linux/arm64
40
+ push : true
41
+ tags : |
42
+ sourceboat/docker-laravel:edge
43
+ ghcr.io/sourceboat/docker-laravel:edge
You can’t perform that action at this time.
0 commit comments