Add docker public action
This commit is contained in:
parent
75ce4a38d3
commit
38f243e2e8
23
.github/workflows/docker-publish.yml
vendored
Normal file
23
.github/workflows/docker-publish.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: Docker CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v1
|
||||||
|
- name: Login to DockerHub
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_HUB_SECRET }}
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Build and Push from Makefile
|
||||||
|
run: |
|
||||||
|
make build
|
Loading…
Reference in New Issue
Block a user