Skip to content

Commit

Permalink
ci: Another fix for Docker build script
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Oct 13, 2022
1 parent e2dde44 commit 7d88c58
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/gha-docker-build
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,12 @@ docker build \
cd ..

if [[ "${PUSH}" == "1" ]]; then
docker tag "${full_image_name}:${ref}" "${full_image_name}:main"
docker push "${full_image_name}:${ref}"

docker tag "${full_image_name}:${ref}" "${full_image_name}:main"
docker push "${full_image_name}:main"

docker tag "${full_image_name}:${ref}" "${full_image_name}:v$(./scripts/version.sh)"
docker push "${full_image_name}:v$(./scripts/version.sh)"
fi

Expand Down

0 comments on commit 7d88c58

Please sign in to comment.