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
98 changes: 0 additions & 98 deletions .github/workflows/build-and-test.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/docker-ops.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Docker Operations

"on":
push:
paths:
- ".github/workflows/docker-ops.yml"
- "bin/**"
- "Dockerfile"
- "etc/**"
- "ci/**"
- "src/**"
- LICENSE
workflow_dispatch:

jobs:
docker_ops:
permissions:
id-token: write
contents: write
security-events: write
actions: read

uses: udx/reusable-workflows/.github/workflows/docker-ops.yml@master
with:
image_name: worker-php
release_branch: latest
docker_login: ${{ vars.DOCKER_LOGIN }}
docker_org: ${{ vars.DOCKER_ORG }}
docker_repo: ${{ vars.DOCKER_REPO }}
enable_security_upload: ${{ github.repository == 'udx/worker-php' }}

secrets:
docker_token: ${{ secrets.DOCKER_TOKEN }}
157 changes: 0 additions & 157 deletions .github/workflows/release.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Tests

on:
push:
pull_request:

permissions:
contents: read

jobs:
test:
name: Build and Test
runs-on: ubuntu-24.04

steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Build and test
run: make test
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Use the UDX worker as the base image
FROM usabilitydynamics/udx-worker:0.35.0
FROM usabilitydynamics/udx-worker:0.38.0

# Add metadata labels
LABEL maintainer="UDX"
LABEL version="0.30.0"
LABEL version="0.31.0"

# Arguments and Environment Variables
ARG PHP_VERSION=8.4
ARG PHP_PACKAGE_VERSION=8.4.11-1ubuntu1
ARG NGINX_VERSION=1.28.0-6ubuntu1
ARG PHP_PACKAGE_VERSION=8.4.11-1ubuntu1.1
ARG NGINX_VERSION=1.28.0-6ubuntu1.1

# Set the PHP_VERSION and PHP_PACKAGE_VERSION as environment variables
ENV PHP_VERSION="${PHP_VERSION}"
Expand All @@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
php"${PHP_VERSION}"-curl="${PHP_PACKAGE_VERSION}" \
php"${PHP_VERSION}"-xml="${PHP_PACKAGE_VERSION}" \
php"${PHP_VERSION}"-zip="${PHP_PACKAGE_VERSION}" \
mysql-client=8.4.7-0ubuntu0.25.10.2 && \
mysql-client=8.4.8-0ubuntu0.25.10.1 && \
apt-get clean && \
rm -rf /tmp/* /var/tmp/* && \
mkdir -p /etc/apt/sources.list.d && \
Expand Down
Loading
Loading