diff --git a/tools/hash-composite-image.js b/tools/hash-composite-image.js index 93035d3..c7e3a8d 100644 --- a/tools/hash-composite-image.js +++ b/tools/hash-composite-image.js @@ -72,7 +72,7 @@ export async function hashCompositeImage(mode) { } return ( await runCommand( - `skopeo inspect docker://raxod502/riju:composite | jq -r '.Labels["riju-composite-hash"]'`, + `skopeo inspect docker://\${DOCKER_REPO}:composite | jq -r '.Labels["riju-composite-hash"]'`, { getStdout: true } ) ).stdout.trim(); diff --git a/tools/publish.bash b/tools/publish.bash index 57a055e..9a9e7ca 100755 --- a/tools/publish.bash +++ b/tools/publish.bash @@ -71,7 +71,7 @@ for lang in "${langs[@]}"; do pkg="riju-${type}-${lang}" hash="${local_hashes["${pkg}"]}" published_hash="${published_hashes["${pkg}"]:-}" - if [[ "${published_hash}" != "${hash}" ]]; then + if [[ "${published_hash}" == "${hash}" ]]; then make download L="${lang}" T="${type}" fi done