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 f2759dd
Show file tree
Hide file tree
Showing 5,844 changed files with 437,851 additions and 161,390 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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.1-cli-alpine3.10
FROM php:8.2-cli-alpine3.18

RUN apk add git

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
2 changes: 1 addition & 1 deletion apigen/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"require" : {
"apigen/apigen" : "4.1.2"
"apigen/apigen" : "dev-master"
}
}
Loading

0 comments on commit f2759dd

Please sign in to comment.