Skip to content

Commit

Permalink
Merge pull request #108 from chialab/dependabot/github_actions/docker…
Browse files Browse the repository at this point in the history
…/build-push-action-4

chore(deps): bump docker/build-push-action from 3 to 4
  • Loading branch information
fquffio committed Jan 31, 2023
2 parents 39f4fd3 + 5850916 commit ff5f246
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Build image for testing
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
cache-from: type=registry,ref=chialab/php:${{ matrix.version }}${{ matrix.flavor }}
cache-to: type=inline
Expand All @@ -53,7 +53,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@v3
uses: docker/build-push-action@v4
with:
cache-to: type=inline
context: ./dev
Expand All @@ -70,7 +70,7 @@ jobs:

- name: Build PCOV image for testing
if: ${{ matrix.version >= 7.1 }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
cache-to: type=inline
context: ./pcov
Expand All @@ -87,7 +87,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@v3
uses: docker/build-push-action@v4
with:
cache-to: type=inline
context: ./xhprof
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image and push to registry
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
cache-from: type=registry,ref=chialab/php:${{ matrix.version }}${{ matrix.flavor }}
Expand All @@ -160,7 +160,7 @@ jobs:
push: true

- name: Build dev image and push to registry
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
cache-to: type=inline
Expand All @@ -174,7 +174,7 @@ jobs:

- name: Build PCOV image and push to registry
if: ${{ matrix.version >= 7.1 }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
cache-to: type=inline
Expand All @@ -187,7 +187,7 @@ jobs:
push: true

- name: Build xhprof image (amd64 only) and push to registry
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
cache-to: type=inline
context: ./xhprof
Expand Down

0 comments on commit ff5f246

Please sign in to comment.