mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Create dockerimage.yml
This commit is contained in:
@@ -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/actions-publish-docker@v1.0.1
|
||||||
|
with:
|
||||||
|
name: vpbot
|
||||||
|
tag: dev
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
registry: docker.pkg.github.com
|
||||||
Reference in New Issue
Block a user