Skip to content

Normalize PHP namespace (#425) #75

Normalize PHP namespace (#425)

Normalize PHP namespace (#425) #75

Workflow file for this run

name: Push docker image to registry
"on":
push:
# Only run this job when pushing to the main branch
branches: ["main"]
permissions:
contents: read
packages: write
env:
DS_REGISTRY: "ghcr.io/jolicode/docker-starter"
DS_PHP_VERSION: "8.5"
jobs:
push-images:
name: Push image to registry
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
- name: Log in to registry
shell: bash
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: setup-castor
uses: castor-php/setup-castor@827c7ae1be0bb45e42a6082cad943a2afe0ffd40 # v1.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: "Build and start the infrastructure"
run: "castor docker:push"