0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/.github/workflows/docker-publish.yml
Juan Picado a7ba76423e refactor: test api refactor (#1826)
* test: add test for whoami

* Update middleware.ts

* test for user api

* more test for user api

* remove repeated code

* refactor

* Update index.spec.ts

* add package test

refactor others

* chore: upgrade deps

* chore: add test for package

* chore: update test

* update lock file

* Update ci.yml

* Update ci.yml

* Update package.spec.ts

* chore: update ci settings

* chore: update deps

* chore: update test
2021-04-09 17:54:11 +02:00

28 lines
673 B
YAML

name: Docker publish to GitHub registry
on:
push:
branches:
- master
paths:
- .github/workflows/docker-publish.yml
- 'packages/**'
- 'docker-bin/**'
- 'package.json'
- 'lerna.json'
jobs:
testDocker:
name: Test Docker Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Publish to 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"