1616 uses : shivammathur/setup-php@v2
1717 with :
1818 php-version : 8.0
19- - uses : actions/checkout@v2
20- - uses : actions/cache@v2
19+ - uses : actions/checkout@v4
20+ - uses : actions/cache@v4
2121 with :
2222 path : ~/.composer/cache/files
2323 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -32,32 +32,32 @@ jobs:
3232 steps :
3333 -
3434 name : Set up QEMU
35- uses : docker/setup-qemu-action@v2
35+ uses : docker/setup-qemu-action@v3
3636 -
3737 name : Set up Docker Buildx
38- uses : docker/setup-buildx-action@v2
38+ uses : docker/setup-buildx-action@v3
3939 - name : Get current date
4040 id : date
4141 run : echo "::set-output name=date::$(date +'%Y-%m-%d')"
4242 -
4343 name : Login to ghcr.io
44- uses : docker/login-action@v2
44+ uses : docker/login-action@v3
4545 if : ${{ github.ref == 'refs/heads/main' }}
4646 with :
4747 registry : ghcr.io
4848 username : ${{ github.actor }}
4949 password : ${{ secrets.GITHUB_TOKEN }}
5050 -
5151 name : Login to DockerHub
52- uses : docker/login-action@v2
52+ uses : docker/login-action@v3
5353 if : ${{ github.ref == 'refs/heads/main' }}
5454 with :
5555 username : ${{ secrets.DOCKERHUB_USERNAME }}
5656 password : ${{ secrets.DOCKERHUB_TOKEN }}
5757 -
5858 name : Build and push
5959 id : docker_build
60- uses : docker/build-push-action@v4
60+ uses : docker/build-push-action@v6
6161 with :
6262 push : ${{ github.ref == 'refs/heads/main' }}
6363 tags : ghcr.io/kanti/local-https,kanti/local-https
0 commit comments