File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 11
11
-
12
12
name : Checkout
13
13
uses : actions/checkout@v2
14
+ -
15
+ name : Docker meta
16
+ id : meta
17
+ uses : docker/metadata-action@v3
18
+ with :
19
+ # list of Docker images to use as base name for tags
20
+ images : |
21
+ neroazure/docker-laravel
22
+ # generate Docker tags based on the following events/attributes
23
+ tags : |
24
+ type=ref,event=branch
25
+ type=semver,pattern={{version}}
26
+ type=semver,pattern={{major}}.{{minor}}
27
+ type=semver,pattern={{major}}
14
28
-
15
29
name : Set up QEMU
16
30
uses : docker/setup-qemu-action@v1
39
53
push : true
40
54
# ghcr.io/user/app:1.0.0
41
55
# ghcr.io/user/app:latest
42
- tags : |
43
- ${{ github.repository }}-test:latest
44
- ${{ github.repository }}-test:${{ join(github.event.push.branches.*.name, ', ') }}
56
+ tags : ${{ steps.meta.outputs.tags }}
You can’t perform that action at this time.
0 commit comments