Skip to content

Commit

Permalink
Build ubi8 and ubuntu20.04 images
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Oct 30, 2023
1 parent 066e508 commit 89924d4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ name: Images
on: [pull_request]

jobs:
build-image:
build-images:
runs-on: ubuntu-latest
strategy:
matrix:
dist: [ubuntu20.04, ubi8]
steps:
- uses: actions/checkout@v3

Expand All @@ -38,13 +41,13 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image
- name: Build ${{ matrix.dixt }} image
env:
IMAGE_NAME: ghcr.io/elezar/k8s-dra-driver
VERSION: ${COMMIT_SHORT_SHA}
BUILD_MULTI_ARCH_IMAGES: "true"
PUSH_ON_BUILD: "true"
run: |
echo "${VERSION}"
make -f deployments/container/Makefile build
make -f deployments/container/Makefile build-${{ matrix.dist }}

0 comments on commit 89924d4

Please sign in to comment.