Merge pull request #334 from Zac2049/master #163
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 | |