Skip to content

Commit

Permalink
fix: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kvendingoldo committed Jul 25, 2024
1 parent 8bc3942 commit 8b428b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
env:
docker_registry: "ghcr.io"
run: |
set -x
version=${GITHUB_REF#refs/*/v}
IFS='.' read -ra version_arr <<< "${version}"
Expand All @@ -90,7 +91,7 @@ jobs:
for arch in "${architectures[@]}"; do
for version in "${versions[@]}"; do
IMAGE="${docker_registry}/tofuutils/tenv:${VERSION}-${ARCH}"
IMAGE="${docker_registry}/tofuutils/tenv:${version}-${arch}"
echo "Pushing ${IMAGE}..."
docker push ${IMAGE}
if [ ${?} -ne 0 ]; then
Expand Down Expand Up @@ -121,7 +122,7 @@ jobs:
for arch in "${architectures[@]}"; do
for version in "${versions[@]}"; do
IMAGE="${docker_registry}/tofuutils/tenv:${VERSION}-${ARCH}"
IMAGE="${docker_registry}/tofuutils/tenv:${version}-${arch}"
echo "Pushing ${IMAGE}..."
docker push ${IMAGE}
if [ ${?} -ne 0 ]; then
Expand Down

0 comments on commit 8b428b4

Please sign in to comment.