mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
Update docker-image.yaml
This commit is contained in:
parent
6ed9f0a01d
commit
4d91ef14f4
10
.github/workflows/docker-image.yaml
vendored
10
.github/workflows/docker-image.yaml
vendored
@ -7,8 +7,14 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
|
description: 'Version WITHOUT leading "v"'
|
||||||
|
required: true
|
||||||
major:
|
major:
|
||||||
|
description: 'Major version component (redundant, but needed)'
|
||||||
|
required: true
|
||||||
minor:
|
minor:
|
||||||
|
description: 'Minor version component (redundant, but needed)'
|
||||||
|
required: true
|
||||||
# push:
|
# push:
|
||||||
# tags:
|
# tags:
|
||||||
# - '*.*.*'
|
# - '*.*.*'
|
||||||
@ -65,8 +71,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
|
images: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{github.event.inputs.version}}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern={{github.event.inputs.major}}.{{github.event.inputs.minor}}
|
||||||
|
|
||||||
# This step uses the `docker/build-push-action` action to build the
|
# This step uses the `docker/build-push-action` action to build the
|
||||||
# image, based on your repository's `Dockerfile`. If the build succeeds,
|
# image, based on your repository's `Dockerfile`. If the build succeeds,
|
||||||
|
Loading…
Reference in New Issue
Block a user