Tweak input variable name and provide description.

This commit is contained in:
John Wesley Walker III
2024-02-20 14:32:20 +01:00
committed by GitHub
parent e9a8976280
commit 99f461a6a7

View File

@@ -6,7 +6,8 @@ on:
# so avoid trigger events that run automatically.) # so avoid trigger events that run automatically.)
workflow_dispatch: workflow_dispatch:
inputs: inputs:
pushToContainerRegistry: publish:
description: 'Publish to ghcr.io?'
type: boolean type: boolean
required: true required: true
default: false default: false
@@ -49,7 +50,7 @@ jobs:
with: with:
context: . context: .
file: images/test-ubuntu-git.Dockerfile file: images/test-ubuntu-git.Dockerfile
push: ${{ inputs.pushToContainerRegistry }} push: ${{ inputs.publish }}
tags: ${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA }} tags: ${{ env.IMAGE_NAME }}:sha-${{ env.GITHUB_SHA }}
# tags: ${{ steps.meta.outputs.tags }} # tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }} # labels: ${{ steps.meta.outputs.labels }}