Skip to content

Update README.md

Update README.md #43

name: Publish Docker image
on:
push:
branches:
- 'master'
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
-
name: Check out the repo
uses: actions/checkout@v2
-
name: Log in to GitHub Docker Registry
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build container image
uses: docker/build-push-action@v2
with:
context: ./docker
build-args: |
XDEBUG=1
push: true
tags: |
docker.pkg.github.com/shipstream/middleware/php:latest