0
1
Fork 0
mirror of https://github.com/actions/checkout synced 2024-06-17 14:28:20 +02:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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