mirror of
https://github.com/logos-storage/github-actions.git
synced 2026-01-02 13:13:06 +00:00
checkout submodules support (#10)
This commit is contained in:
parent
7e01da7963
commit
b23d031ead
7
.github/workflows/docker-reusable.yml
vendored
7
.github/workflows/docker-reusable.yml
vendored
@ -49,6 +49,11 @@ on:
|
|||||||
description: actions/checkout fetch-depth
|
description: actions/checkout fetch-depth
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
checkout-submodules:
|
||||||
|
default: false
|
||||||
|
description: actions/checkout submodules
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
checkout-fetch-tags:
|
checkout-fetch-tags:
|
||||||
default: ''
|
default: ''
|
||||||
description: actions/checkout fetch-tags
|
description: actions/checkout fetch-tags
|
||||||
@ -76,6 +81,7 @@ env:
|
|||||||
TAG_SHA_LONG: ${{ inputs.tag_sha_long }}
|
TAG_SHA_LONG: ${{ inputs.tag_sha_long }}
|
||||||
TAG_SUFFIX: ${{ inputs.tag_suffix }}
|
TAG_SUFFIX: ${{ inputs.tag_suffix }}
|
||||||
CHECKOUT_FETCH_DEPTH: ${{ inputs.checkout-fetch-depth }}
|
CHECKOUT_FETCH_DEPTH: ${{ inputs.checkout-fetch-depth }}
|
||||||
|
CHECKOUT_SUBMODULES: ${{ inputs.checkout-submodules }}
|
||||||
CHECKOUT_FETCH_TAGS: ${{ inputs.checkout-fetch-tags }}
|
CHECKOUT_FETCH_TAGS: ${{ inputs.checkout-fetch-tags }}
|
||||||
amd64_builder: ${{ inputs.amd64_builder }}
|
amd64_builder: ${{ inputs.amd64_builder }}
|
||||||
arm64_builder: ${{ inputs.arm64_builder }}
|
arm64_builder: ${{ inputs.arm64_builder }}
|
||||||
@ -114,6 +120,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: ${{ env.CHECKOUT_FETCH_DEPTH }}
|
fetch-depth: ${{ env.CHECKOUT_FETCH_DEPTH }}
|
||||||
fetch-tags: ${{ env.CHECKOUT_FETCH_TAGS }}
|
fetch-tags: ${{ env.CHECKOUT_FETCH_TAGS }}
|
||||||
|
submodules: ${{ env.CHECKOUT_SUBMODULES }}
|
||||||
|
|
||||||
- name: Secrets to variables
|
- name: Secrets to variables
|
||||||
if: ${{ env.BUILD_ARGS != '' }}
|
if: ${{ env.BUILD_ARGS != '' }}
|
||||||
|
|||||||
@ -31,6 +31,7 @@
|
|||||||
| `tag_suffix` | Suffix for Docker images tag | `''` |
|
| `tag_suffix` | Suffix for Docker images tag | `''` |
|
||||||
| `checkout-fetch-depth` | actions/checkout fetch-depth | `''` |
|
| `checkout-fetch-depth` | actions/checkout fetch-depth | `''` |
|
||||||
| `checkout-fetch-tags` | actions/checkout fetch-tags | `''` |
|
| `checkout-fetch-tags` | actions/checkout fetch-tags | `''` |
|
||||||
|
| `checkout-submodules` | actions/checkout submodules | `false` |
|
||||||
| `amd64_builder` | Builder for amd64 | `ubuntu-22.04` |
|
| `amd64_builder` | Builder for amd64 | `ubuntu-22.04` |
|
||||||
| `arm64_builder` | Builder for arm64 | `ubuntu-22.04-arm` |
|
| `arm64_builder` | Builder for arm64 | `ubuntu-22.04-arm` |
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user