Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ name: docker
required: false
type: string
default: ""
build_secrets:
description: >-
Additional secrets to expose to the container build process. NOTE:
GITHUB_TOKEN is exposed to the build by default.
required: false
type: string
default: ""
container_name:
description: >-
The base name of the docker container; e.g. just the "xyz" part of
Expand Down Expand Up @@ -195,6 +202,9 @@ jobs:
push: ${{ inputs.push }}
tags: |-
${{ steps.meta.outputs.tags }}
secrets: |
"GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}"
${{ inputs.build_secrets != '' && inputs.build_secrets || '' }}

readme:
if: >-
Expand Down