chore: bump version of docker/* actions

This commit is contained in:
Paolo Cuffiani
2023-09-13 10:16:30 +02:00
parent 0a2fefddfc
commit a80ebf46cd
+11 -11
View File
@@ -43,7 +43,7 @@ jobs:
uses: actions/checkout@v4
- name: Build image for testing
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
cache-from: type=registry,ref=chialab/php:${{ matrix.version }}${{ matrix.flavor }}
cache-to: type=inline
@@ -61,7 +61,7 @@ jobs:
run: 'docker pull localhost:5000/chialab/php:${{ matrix.version }}${{ matrix.flavor }} && make test'
- name: Build dev image for testing
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
cache-to: type=inline
context: ./dev
@@ -78,7 +78,7 @@ jobs:
- name: Build PCOV image for testing
if: ${{ matrix.version >= 7.1 }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
cache-to: type=inline
context: ./pcov
@@ -95,7 +95,7 @@ jobs:
run: 'docker pull localhost:5000/chialab/php-pcov:${{ matrix.version }}${{ matrix.flavor }} && make -C pcov test'
- name: Build xhprof image for testing
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
cache-to: type=inline
context: ./xhprof
@@ -142,25 +142,25 @@ jobs:
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build image and push to registry
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
cache-from: type=registry,ref=chialab/php:${{ matrix.version }}${{ matrix.flavor }}
@@ -175,7 +175,7 @@ jobs:
push: true
- name: Build dev image and push to registry
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
cache-to: type=inline
@@ -189,7 +189,7 @@ jobs:
- name: Build PCOV image and push to registry
if: ${{ matrix.version >= 7.1 }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
cache-to: type=inline
@@ -202,7 +202,7 @@ jobs:
push: true
- name: Build xhprof image (amd64 only) and push to registry
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
cache-to: type=inline
context: ./xhprof