Skip to content

Commit

Permalink
Copy the logic for building the arifacts (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-richey authored Sep 10, 2024
1 parent e1b5cce commit 9e1755d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_publish_docker.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: Build and publish docker image

on:
release:
types: [published]
pull_request:
types: [closed]
branches:
- main

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/')
runs-on: ubuntu-latest

permissions:
Expand Down

0 comments on commit 9e1755d

Please sign in to comment.