Skip to content

Commit

Permalink
Fix docker build and push in release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Dec 24, 2024
1 parent cee4f20 commit d3f4b04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ readonly build_dir
unset script_path script_dir

docker build "${build_dir}" --pull --push \
--tag "ghcr.io/felipecrs/dond-shim-bin:${version}"
--tag "ghcr.io/felipecrs/dond-shim:${version}" \
--tag "ghcr.io/felipecrs/dond-shim:latest"
docker build "${build_dir}" --pull --push \
--target dond-shim-bin --tag "ghcr.io/felipecrs/dond-shim-bin:${version}"
--target dond-shim-bin --tag "ghcr.io/felipecrs/dond-shim-bin:${version}" \
--tag "ghcr.io/felipecrs/dond-shim-bin:latest"

git_sha=$(git rev-parse HEAD)
gh release create "v${version}" --title "v${version}" --target "${git_sha}"

0 comments on commit d3f4b04

Please sign in to comment.