Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
build: use justfile upstream recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Apr 16, 2024
1 parent eb105f7 commit 587c4cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ _docker_push tag:
docker push {{tag}}

_docker_build dockerfile tag force="0":
#!/usr/bin/env sh
#!/usr/bin/env bash
set -euo pipefail
if [ "{{force}}" = "0" ]; then
docker images --format '{''{.Repository}}' | grep '^{{tag}}$'
if [ $? -eq 0 ]; then
Expand Down

0 comments on commit 587c4cc

Please sign in to comment.