소스 검색

Create dockerimage.yml

Mikkel Hjortshøj 5 년 전
부모
커밋
9821b2be25
1개의 변경된 파일19개의 추가작업 그리고 0개의 파일을 삭제
  1. 19 0
      .github/workflows/dockerimage.yml

+ 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