Skip to content

Commit

Permalink
Add a little logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bryteise committed Jun 17, 2024
1 parent eeaa2f4 commit 78b66a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-and-push-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ create_image() {
local name="$1"
local ver="$2"
pushd "${name}"
echo "Creating ${name} for version ${ver}"
docker build -t ghcr.io/clearlinux/"${name}":"${ver}" . --build-arg="clear_ver=${ver}"
popd
}

push_image() {
local name="$1"
local ver="$2"
echo "Pushing ${name} for version ${ver}"
docker push ghcr.io/clearlinux/"${name}":"${ver}"
}

Expand Down

0 comments on commit 78b66a1

Please sign in to comment.