Skip to content

Commit 12a2a40

Browse files
committed
use default HEAD
1 parent e7e0327 commit 12a2a40

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/publish_docker_matrix.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
description: "Commit hash from the teddycloud_web build job"
99
type: string
1010
required: false
11+
default: "HEAD"
1112

1213
push:
1314
branches:

.github/workflows/publish_docker_matrix_alpine.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
description: "Commit hash from the teddycloud_web build job"
99
type: string
1010
required: false
11+
default: "HEAD"
1112

1213
# permissions are needed if pushing to ghcr.io
1314
permissions:
@@ -36,7 +37,7 @@ jobs:
3637
- uses: actions/checkout@v4
3738
with:
3839
submodules: recursive
39-
ref: ${{ inputs.tcw_commit_hash || 'HEAD' }}
40+
ref: ${{ inputs.tcw_commit_hash }}
4041
- name: Set up QEMU
4142
uses: docker/setup-qemu-action@v3
4243
- name: Set up Docker Buildx

.github/workflows/publish_docker_matrix_debian.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
description: "Commit hash from the teddycloud_web build job"
99
type: string
1010
required: false
11+
default: "HEAD"
1112

1213
# permissions are needed if pushing to ghcr.io
1314
permissions:
@@ -35,7 +36,7 @@ jobs:
3536
- uses: actions/checkout@v4
3637
with:
3738
submodules: recursive
38-
ref: ${{ inputs.tcw_commit_hash || 'HEAD' }}
39+
ref: ${{ inputs.tcw_commit_hash }}
3940
- name: Set up QEMU
4041
uses: docker/setup-qemu-action@v3
4142
- name: Set up Docker Buildx

.github/workflows/publish_docker_matrix_ubuntu.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
description: "Commit hash from the teddycloud_web build job"
99
type: string
1010
required: false
11+
default: "HEAD"
1112

1213
# permissions are needed if pushing to ghcr.io
1314
permissions:
@@ -34,7 +35,7 @@ jobs:
3435
- uses: actions/checkout@v4
3536
with:
3637
submodules: recursive
37-
ref: ${{ inputs.tcw_commit_hash || 'HEAD' }}
38+
ref: ${{ inputs.tcw_commit_hash }}
3839
- name: Set up QEMU
3940
uses: docker/setup-qemu-action@v3
4041
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)