2
0
Mikkel Hjortshøj 5 жил өмнө
parent
commit
9821b2be25

+ 19 - 0
.github/workflows/dockerimage.yml

@@ -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