Skip to content

Commit

Permalink
feat: update to PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tssge committed Nov 20, 2023
1 parent 686ece4 commit 0c05636
Show file tree
Hide file tree
Showing 6,018 changed files with 453,357 additions and 178,655 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
39 changes: 39 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Create and publish a Docker image
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: ['main']

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
58 changes: 0 additions & 58 deletions .github/workflows/twitter-post.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea
.vagrant
Vagrantfile
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM php:7.1-cli-alpine3.10
FROM php:8.2-cli-alpine3.18

RUN apk add git

RUN apk add curl

COPY entrypoint.sh /entrypoint.sh

COPY apigen /cached-apigen
COPY cached-apigen /cached-apigen

RUN chmod +x /entrypoint.sh

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ inputs:
default: 'yes'
runs:
using: 'docker'
image: 'Dockerfile'
image: 'docker://ghcr.io/net9-oy/action-apigen:main'
args:
- ${{ inputs.push_to_branch }}
- ${{ inputs.before_cmd }}
Expand Down
5 changes: 0 additions & 5 deletions apigen/composer.json

This file was deleted.

Loading

0 comments on commit 0c05636

Please sign in to comment.