mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-11 02:15:57 -05:00
build: publish Docker image to GitHub registry (5.x) (#1744)
* chore: test * chore: test * chore: test * chore: test * chore: test * chore: test * chore: test * chore: restore previous check file
This commit is contained in:
parent
3e7fd1806e
commit
256e64e3d2
1 changed files with 19 additions and 0 deletions
19
.github/workflows/docker-publish.yml
vendored
Normal file
19
.github/workflows/docker-publish.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: Publish docker image
|
||||
|
||||
on: [push]
|
||||
|
||||
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"
|
||||
|
Loading…
Add table
Reference in a new issue