name: Build Image
on:
push:
branches: ['master']
jobs:
build-and-push-image:
runs-on: privileged-ubuntu-latest-amd64
steps:
- uses: actions/checkout@v3
- name: Install Buildah
run: apt-get -y update && apt-get -y install buildah
- name: Build Container
run: buildah --storage-driver=vfs bud ./Dockerfile