Merge pull request #305 from Rqirus/master #160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Publish to Docker Hub Registry | |
uses: elgohr/Publish-Docker-Github-Action@master | |
with: | |
name: wzpan/wukong-robot | |
username: ${{ secrets.DOCKER_GITHUB_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
dockerfile: docker/Dockerfile | |
- name: Publish to Github Package Registry | |
uses: elgohr/Publish-Docker-Github-Action@master | |
with: | |
name: docker.pkg.github.com/wzpan/wukong-robot/wukong | |
username: ${{ secrets.DOCKER_GITHUB_USERNAME }} | |
password: ${{ secrets.DOCKER_GITHUB_PASSWORD }} | |
registry: docker.pkg.github.com | |
dockerfile: docker/Dockerfile | |