Use GitHub actions to build Docker image

This commit is contained in:
xZero707
2021-03-18 20:44:13 +01:00
parent d6d9fc4007
commit 431b0572c0
2 changed files with 30 additions and 0 deletions

19
.github/workflows/image.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Build stable multiarch image
on:
push:
branches: master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build image
run: bin/build