Skip to content

Commit 9bbb64d

Browse files
authored
Another attempt at adding a latest tag only on release builds (#124)
Signed-off-by: Shmuel Kallner <[email protected]>
1 parent 3702824 commit 9bbb64d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/docker-build-and-push/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636

3737
- name: Build image
3838
run: |
39-
if [[ ${{ inputs.prerelease }} ]]; then
39+
if [[ ${{ inputs.prerelease }} == "true" ]]; then
4040
LATEST_TAG=""
4141
else
4242
LATEST_TAG="-t ${{ inputs.registry }}/${{ inputs.image-name }}:latest"

0 commit comments

Comments
 (0)