|
@@ -0,0 +1,19 @@
|
|
|
+name: Docker Image CI
|
|
|
+
|
|
|
+on: [push]
|
|
|
+
|
|
|
+jobs:
|
|
|
+ build:
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@v2
|
|
|
+ - name: Build the Docker image
|
|
|
+ run: docker build . --file Dockerfile --tag vpbot:dev
|
|
|
+ - name: Docker Publish
|
|
|
+ uses: manusa/[email protected]
|
|
|
+ with:
|
|
|
+ name: vpbot
|
|
|
+ tag: dev
|
|
|
+ username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
+ password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
+ registry: docker.pkg.github.com
|