Skip to content

Add convert-ubuntu-package example #2

Add convert-ubuntu-package example

Add convert-ubuntu-package example #2

name: "Build image: convert-ubuntu-package"
env:
IMAGE_NAME: "convert-ubuntu-package"
on:
pull_request:
branches:
- main
paths:
- convert-ubuntu-package/*
- .github/workflows/convert-ubuntu-package.yml
push:
branches:
- main
paths:
- convert-ubuntu-package/*
- .github/workflows/convert-ubuntu-package.yml
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Build container image
uses: redhat-actions/buildah-build@v2
with:
context: ${{ env.IMAGE_NAME }}
containerfiles: ${{ env.IMAGE_NAME }}/Containerfile
image: ${{ env.IMAGE_NAME }}
layers: false
oci: true