Skip to content

[HPI-1059] Add support for PR base images. #2

[HPI-1059] Add support for PR base images.

[HPI-1059] Add support for PR base images. #2

Workflow file for this run

name: PR Build image
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Log in to ghcr
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
- name: Build the image
run: make build
- name: Push PR image to the registry
run: make pr-image
env:
TAG: ${{ github.head_name }}