Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Add ability to publish containers on demand
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Hinek <[email protected]>
  • Loading branch information
frankhinek committed Jun 26, 2024
1 parent 0dc2d1f commit 78a4e34
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ name: Publish Container Image
on:
release:
types: [released]
workflow_dispatch:
inputs:
tag:
description: 'Tag for the image'
required: true
default: 'alpha'

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -36,6 +42,7 @@ jobs:
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=${{ github.event.inputs.tag }},enable=${{ github.event_name == 'workflow_dispatch' }}
- name: Build and push Docker image
uses: docker/build-push-action@15560696de535e4014efeff63c48f16952e52dd1 # v6.2.0
Expand Down

0 comments on commit 78a4e34

Please sign in to comment.