@@ -18,40 +18,44 @@ jobs:
1818 packages : write
1919
2020 steps :
21- - uses : docker/metadata-action@v5
21+ - uses : docker/metadata-action@v6
2222 id : meta
2323 with :
2424 images : |
2525 motioneyeproject/motioneye
2626 ghcr.io/${{ github.repository_owner }}/motioneye
27+ flavor : latest=false
2728 tags : |
2829 type=edge,branch=dev
2930 type=semver,pattern={{version}}
3031 type=semver,pattern={{major}}.{{minor}}
3132 type=semver,pattern={{major}}
33+ type=match,pattern=\d+\.\d+\.\d+b\d+
34+ type=raw,value=beta,enable=${{ github.ref_type == 'tag' && contains(github.ref_name, 'b') && contains(github.ref_name, '.') && !startsWith(github.ref_name, 'v') && !contains(github.ref_name, '-') }}
35+ type=raw,value=latest,enable=${{ github.ref_type == 'tag' && !contains(github.ref_name, 'b') && contains(github.ref_name, '.') && !startsWith(github.ref_name, 'v') && !contains(github.ref_name, '-') }}
3236
33- - uses : docker/setup-qemu-action@v3
37+ - uses : docker/setup-qemu-action@v4
3438 with :
3539 cache-image : false
3640
37- - uses : docker/setup-buildx-action@v3
41+ - uses : docker/setup-buildx-action@v4
3842
3943 - name : Login to Docker Hub
40- uses : docker/login-action@v3
44+ uses : docker/login-action@v4
4145 if : github.event_name == 'push' && github.repository == 'motioneye-project/motioneye' && steps.meta.outputs.tags != null
4246 with :
4347 username : ${{ secrets.DOCKER_USERNAME }}
4448 password : ${{ secrets.DOCKER_TOKEN }}
4549
4650 - name : Login to GitHub Container Registry
47- uses : docker/login-action@v3
51+ uses : docker/login-action@v4
4852 if : github.event_name == 'push' && github.repository == 'motioneye-project/motioneye' && steps.meta.outputs.tags != null
4953 with :
5054 registry : ghcr.io
5155 username : ${{ github.actor }}
5256 password : ${{ github.token }}
5357
54- - uses : docker/build-push-action@v6
58+ - uses : docker/build-push-action@v7
5559 with :
5660 file : ./docker/Dockerfile
5761 platforms : linux/amd64,linux/arm64/v8,linux/arm/v7,linux/riscv64
0 commit comments