Compare commits
2 Commits
83723bd989
...
43d4a2b35e
| Author | SHA1 | Date | |
|---|---|---|---|
| 43d4a2b35e | |||
| 03513bb1e4 |
@@ -12,6 +12,10 @@ inputs:
|
||||
description: Override image tag (defaults to standard tags)
|
||||
required: false
|
||||
default: ""
|
||||
checkout_ref:
|
||||
description: Git ref to checkout before build (e.g. refs/tags/v1.2.3)
|
||||
required: false
|
||||
default: ""
|
||||
dockerfile:
|
||||
description: Path to Dockerfile
|
||||
required: false
|
||||
@@ -42,6 +46,7 @@ runs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
ref: ${{ inputs.checkout_ref != '' && inputs.checkout_ref || '' }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
5
.github/actions/build-and-push/action.yaml
vendored
5
.github/actions/build-and-push/action.yaml
vendored
@@ -12,6 +12,10 @@ inputs:
|
||||
description: Override image tag (defaults to standard tags)
|
||||
required: false
|
||||
default: ""
|
||||
checkout_ref:
|
||||
description: Git ref to checkout before build (e.g. refs/tags/v1.2.3)
|
||||
required: false
|
||||
default: ""
|
||||
dockerfile:
|
||||
description: Path to Dockerfile
|
||||
required: false
|
||||
@@ -38,6 +42,7 @@ runs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
ref: ${{ inputs.checkout_ref != '' && inputs.checkout_ref || '' }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
8
.github/actions/bump-version/action.yaml
vendored
8
.github/actions/bump-version/action.yaml
vendored
@@ -84,11 +84,11 @@ runs:
|
||||
fi
|
||||
|
||||
if [[ -n "${RELEASE_VERSION}" ]]; then
|
||||
npm version "${RELEASE_VERSION}-rc.0" --no-git-tag-version --allow-same-version
|
||||
BUMP_CMD="npm version prerelease --preid=rc --no-git-tag-version"
|
||||
npm version "${RELEASE_VERSION}-beta.0" --no-git-tag-version --allow-same-version
|
||||
BUMP_CMD="npm version prerelease --preid=beta --no-git-tag-version"
|
||||
else
|
||||
npm version prerelease --preid=rc-${BRANCH_SAFE} --no-git-tag-version
|
||||
BUMP_CMD="npm version prerelease --preid=rc-${BRANCH_SAFE} --no-git-tag-version"
|
||||
npm version prerelease --preid=beta-${BRANCH_SAFE} --no-git-tag-version
|
||||
BUMP_CMD="npm version prerelease --preid=beta-${BRANCH_SAFE} --no-git-tag-version"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user