Skip to content

Instantly share code, notes, and snippets.

View PReimers's full-sized avatar
:octocat:
What would Octocat do?

Patrick Reimers PReimers

:octocat:
What would Octocat do?
  • WMC IT Solutions AG
  • Frenkendorf, BL, Switzerland
  • X @MrPReimers
View GitHub Profile
@PReimers
PReimers / main ylm
Created January 15, 2020 12:18
Publish docker image using GitHub Actions
name: Publish and deploy Docker image
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the Docker image
run: docker build . --file Dockerfile --tag docker.pkg.github.com/OWNER/REPO/IMAGE:latest
- name: Publish image

Keybase proof

I hereby claim:

  • I am preimers on github.
  • I am preimers (https://keybase.io/preimers) on keybase.
  • I have a public key ASCPSI4YzjwDYUGzFhpWM1ac1f8zRa2_qBleuDbdJDLZ7wo

To claim this, I am signing this object:

@PReimers
PReimers / DeletedFilter.php
Created May 14, 2018 20:14 — forked from baptistedonaux/DeletedFilter.php
Soft Delete Symfony/Doctrine
<?php
namespace Namespace\MyBundle\Repository\Filters;
use Doctrine\ORM\Mapping\ClassMetaData;
use Doctrine\ORM\Query\Filter\SQLFilter;
class DeletedFilter extends SQLFilter
{
public function addFilterConstraint(ClassMetadata $targetEntity, $targetTableAlias)
{