Skip to content

Commit

Permalink
Add container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesChou committed Oct 3, 2020
1 parent 9988f07 commit 1030a61
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/registry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Docker

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["7.4", "7.3", "7.2", "7.1", "7.0", "5.6", "5.5"]
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} and publish to GitHub Registry
uses: elgohr/Publish-Docker-Github-Action@2.22
with:
name: mileschou/composer-action/runner:${{ matrix.version }}
username: ${{ secrets.GITHUB_USERNAME }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
dockerfile: ${{ matrix.version }}/Dockerfile

0 comments on commit 1030a61

Please sign in to comment.