File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : ci
22
33on :
4- schedule :
5- - cron : " 0 10 * * *"
64 push :
7- branches :
8- - " **"
9- tags :
10- - " v*.*.*"
11- pull_request :
125 branches :
136 - " main"
147 workflow_dispatch :
2013 contents : read
2114 packages : write
2215 steps :
23- -
24- name : Checkout
16+ - name : Checkout
2517 uses : actions/checkout@v3
26- -
27- name : Docker meta
18+ - name : Docker meta
2819 id : meta
2920 uses : docker/metadata-action@v4
3021 with :
@@ -37,22 +28,18 @@ jobs:
3728 type=semver,pattern={{version}}
3829 type=semver,pattern={{major}}.{{minor}}
3930 type=semver,pattern={{major}}
40- -
41- name : Set up QEMU
31+ - name : Set up QEMU
4232 uses : docker/setup-qemu-action@v2
43- -
44- name : Set up Docker Buildx
33+ - name : Set up Docker Buildx
4534 uses : docker/setup-buildx-action@v2
46- -
47- name : Login to GHCR
35+ - name : Login to GHCR
4836 if : github.event_name != 'pull_request'
4937 uses : docker/login-action@v2
5038 with :
5139 registry : ghcr.io
5240 username : ${{ github.actor }}
5341 password : ${{ secrets.GITHUB_TOKEN }}
54- -
55- name : Build and push
42+ - name : Build and push
5643 uses : docker/build-push-action@v4
5744 with :
5845 context : .
You can’t perform that action at this time.
0 commit comments