Skip to content

Commit

Permalink
Bump tools + arm64 platform
Browse files Browse the repository at this point in the history
  • Loading branch information
a-menshchikov committed Apr 18, 2024
1 parent 1de157e commit c9ab5ad
Show file tree
Hide file tree
Showing 14 changed files with 618 additions and 757 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/push-to-docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
id: get-version
run: echo "VERSION=$(echo ${{ github.event.release.tag_name }} | cut -dv -f2)" >> $GITHUB_OUTPUT

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
Expand All @@ -23,8 +29,10 @@ jobs:
- name: Push to Docker Hub
uses: docker/build-push-action@v5
with:
context: .
build-args: |
AUDITOR_VERSION=${{ steps.get-version.outputs.VERSION }}
platforms: linux/amd64,linux/arm64
push: true
tags: |
nbgrp/auditor:${{ steps.get-version.outputs.VERSION }}
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG PHP_VERSION=8.3.1
ARG PHP_VERSION=8.3.6


FROM php:${PHP_VERSION}-cli-alpine
FROM --platform=$BUILDPLATFORM php:${PHP_VERSION}-cli-alpine

ARG AUDITOR_VERSION

Expand Down
145 changes: 76 additions & 69 deletions tools/phan/composer.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tools/php-cs-fixer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"symfony/polyfill-php81": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.46.0"
"friendsofphp/php-cs-fixer": "^v3.54.0"
},
"minimum-stability": "dev",
"prefer-stable": true
Expand Down
Loading

0 comments on commit c9ab5ad

Please sign in to comment.