Skip to content

fix: should be packages not package #5

fix: should be packages not package

fix: should be packages not package #5

name: Build and Publish
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
docker-publish:
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- name: Check out code
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Publish
run: |
docker build -t ghcr.io/senkulabs/php-cli:8.3 -f 8.3/Dockerfile .
docker push ghcr.io/senkulabs/php-cli:8.3