Create buildandpush.yml

This commit is contained in:
Johannes 2020-11-15 22:17:59 +01:00 committed by GitHub
parent e8a3c4a51e
commit 7e7cdd0e50
1 changed files with 28 additions and 0 deletions

28
.github/workflows/buildandpush.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: ci
on:
push:
branches: master
jobs:
export-docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Build
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
load: true
tags: proxmox-backup-server-stable:latest
-
name: Inspect
run: |
docker image inspect proxmox-backup-server-stable:latest