Skip to content

Commit

Permalink
Update docker-image.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelDeimos committed May 24, 2024
1 parent 6ed9f0a commit 4d91ef1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version WITHOUT leading "v"'
required: true
major:
description: 'Major version component (redundant, but needed)'
required: true
minor:
description: 'Minor version component (redundant, but needed)'
required: true
# push:
# tags:
# - '*.*.*'
Expand Down Expand Up @@ -65,8 +71,8 @@ jobs:
with:
images: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{github.event.inputs.version}}
type=semver,pattern={{github.event.inputs.major}}.{{github.event.inputs.minor}}
# This step uses the `docker/build-push-action` action to build the
# image, based on your repository's `Dockerfile`. If the build succeeds,
Expand Down

0 comments on commit 4d91ef1

Please sign in to comment.