Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
VERSION: ${{ (github.ref_type == 'tag' && github.ref_name) || steps.check.outputs.ref || 'dev' }}
PHP_VERSION: ${{ steps.check.outputs.php_version }}
build:
environment: dockerhub
runs-on: ${{ startsWith(matrix.platform, 'linux/arm') && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
needs:
- prepare
Expand Down Expand Up @@ -129,8 +130,8 @@ jobs:
uses: docker/login-action@v4
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
id: build
uses: docker/bake-action@v7
Expand Down Expand Up @@ -204,6 +205,7 @@ jobs:

# Adapted from https://docs.docker.com/build/ci/github-actions/multi-platform/
push:
environment: dockerhub
runs-on: ubuntu-24.04
needs:
- prepare
Expand All @@ -227,8 +229,8 @@ jobs:
uses: docker/login-action@v4
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Create manifest list and push
working-directory: /tmp/metadata
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:
cancel-in-progress: true
jobs:
deploy:
environment: website
runs-on: ubuntu-slim
steps:
- name: Trigger website deployment
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
VERSION: ${{ steps.check.outputs.ref || 'dev' }}

build-linux-musl:
environment: dockerhub
permissions:
contents: write
id-token: write
Expand Down Expand Up @@ -121,8 +122,8 @@ jobs:
uses: docker/login-action@v4
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set VERSION
run: |
if [ "${GITHUB_REF_TYPE}" == "tag" ]; then
Expand Down Expand Up @@ -219,6 +220,7 @@ jobs:
BINARY: ./frankenphp-linux-${{ matrix.platform == 'linux/amd64' && 'x86_64' || 'aarch64' }}${{ matrix.debug && '-debug' || '' }}${{ matrix.mimalloc && '-mimalloc' || '' }}

build-linux-gnu:
environment: dockerhub
permissions:
contents: write
id-token: write
Expand Down Expand Up @@ -289,8 +291,8 @@ jobs:
uses: docker/login-action@v4
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
id: build
uses: docker/bake-action@v7
Expand Down Expand Up @@ -377,6 +379,7 @@ jobs:

# Adapted from https://docs.docker.com/build/ci/github-actions/multi-platform/
push:
environment: dockerhub
runs-on: ubuntu-24.04
needs:
- prepare
Expand All @@ -402,8 +405,8 @@ jobs:
uses: docker/login-action@v4
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Create manifest list and push
working-directory: /tmp/metadata
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/translate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:
pull-requests: write
jobs:
build:
environment: translate
name: Translate Docs
runs-on: ubuntu-latest
steps:
Expand Down
Loading