refact(actions): use build & push action instead of makefile (#315)

Signed-off-by: shubham <shubham.bajpai@mayadata.io>
This commit is contained in:
Shubham Bajpai 2021-04-27 19:31:08 +05:30 committed by GitHub
parent cb3ae22f7a
commit be4334f7c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 121 additions and 19 deletions

View file

@ -18,6 +18,9 @@ on:
pull_request:
paths-ignore:
- 'deploy/helm/**'
- 'docs/**'
- 'changelogs/**'
- 'CHANGELOG.md'
branches:
# on pull requests to master and release branches
- master
@ -116,7 +119,12 @@ jobs:
with:
version: v0.4.2
- name: Build Image
env:
IMG_RESULT: cache
run: make docker.buildx.csi-driver
- name: Build
uses: docker/build-push-action@v2
with:
context: .
file: ./buildscripts/zfs-driver/zfs-driver.Dockerfile
push: false
platforms: linux/amd64, linux/arm64
tags: |
openebs/zfs-driver:ci