44 push :
55 branches : [ "main" ]
66 paths :
7- - ' eth_validator_watcher/*.py '
7+ - ' eth_validator_watcher/** '
88 - ' Dockerfile'
99 - ' pyproject.toml'
10- - " .github/workflows/docker.yaml"
10+ - ' .github/workflows/docker.yaml'
1111 tags :
1212 - " v*"
1313 pull_request :
1414 branches : ["main"]
1515 paths :
16- - ' eth_validator_watcher/*.py '
16+ - ' eth_validator_watcher/** '
1717 - ' Dockerfile'
1818 - ' pyproject.toml'
19- - " .github/workflows/docker.yaml"
19+ - ' .github/workflows/docker.yaml'
2020
2121permissions :
2222 contents : read
2626 docker-build-push :
2727 runs-on : ubuntu-latest
2828 steps :
29- - name : " git:checkout"
30- uses : actions/checkout@v3
31- with :
32- fetch-depth : 0
3329 - name : " docker:meta"
3430 id : meta
35- uses : docker/metadata-action@v4
31+ uses : docker/metadata-action@v5
3632 with :
3733 images : ghcr.io/${{ github.repository }}
3834 flavor : latest=true
@@ -42,18 +38,16 @@ jobs:
4238 type=semver,pattern={{version}}
4339 - name : " docker:login:ghcr.io"
4440 if : github.ref_type == 'tag'
45- uses : docker/login-action@v2
41+ uses : docker/login-action@v3
4642 with :
4743 registry : ghcr.io
4844 username : ${{ github.actor }}
49- password : ${{ secrets.GITHUB_TOKEN }}
45+ password : ${{ github.token }}
5046 - name : " docker:buildx"
51- uses : docker/setup-buildx-action@v2
47+ uses : docker/setup-buildx-action@v3
5248 - name : " docker:build-push"
53- uses : docker/build-push-action@v4
49+ uses : docker/build-push-action@v6
5450 with :
55- context : .
56- file : Dockerfile
5751 push : ${{ github.ref_type == 'tag' }}
5852 tags : ${{ steps.meta.outputs.tags }}
5953 labels : ${{ steps.meta.outputs.labels }}
0 commit comments