2020-06-24 12:28:00 +02:00
|
|
|
name: Docker publish to GitHub registry
|
2020-03-11 07:45:48 +01:00
|
|
|
|
2020-06-24 12:28:00 +02:00
|
|
|
on:
|
|
|
|
push:
|
2020-06-30 21:55:14 +02:00
|
|
|
branches:
|
2020-08-22 22:25:08 +02:00
|
|
|
- 5.x
|
2020-06-24 12:28:00 +02:00
|
|
|
paths:
|
|
|
|
- .github/workflows/docker-publish.yml
|
|
|
|
- 'packages/**'
|
|
|
|
- 'docker-bin/**'
|
|
|
|
- 'package.json'
|
2020-08-22 22:25:08 +02:00
|
|
|
- 'pnpm-*.yaml'
|
2020-03-11 07:45:48 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
testDocker:
|
|
|
|
name: Test Docker Build
|
2020-09-01 21:22:36 +02:00
|
|
|
runs-on: ubuntu-latest
|
2020-03-11 07:45:48 +01:00
|
|
|
steps:
|
2020-09-01 21:22:36 +02:00
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Publish to GitHub Registry
|
|
|
|
uses: elgohr/Publish-Docker-Github-Action@master
|
|
|
|
with:
|
|
|
|
name: docker.pkg.github.com/verdaccio/verdaccio/verdaccio
|
|
|
|
username: ${{secrets.DOCKER_USERNAME}}
|
|
|
|
password: ${{secrets.GITHUB_REGISTRY_TOKEN}}
|
|
|
|
registry: docker.pkg.github.com
|
|
|
|
tags: '5.x'
|