Skip to content

Commit

Permalink
fix: use correct variables names in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
this-is-tobi committed Dec 19, 2024
1 parent 64538db commit 35805ba
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,17 @@ jobs:
if: ${{ steps.image-status.outputs.IMAGE_STATUS == '404' }}
id: image-tags
run: |
MAJOR_VERSION="$(echo '${{ matrix.images.build.tag }}' | cut -d '.' -f 1)"
MINOR_VERSION="$(echo '${{ matrix.images.build.tag }}' | cut -d '.' -f 2)"
PATCH_VERSION="$(echo '${{ matrix.images.build.tag }}' | cut -d '.' -f 3)"
MAJOR_TAG="$(echo '${{ matrix.images.build.tag }}' | cut -d '.' -f 1)"
MINOR_TAG="$(echo '${{ matrix.images.build.tag }}' | cut -d '.' -f 2)"
PATCH_TAG="$(echo '${{ matrix.images.build.tag }}' | cut -d '.' -f 3)"
echo "MAJOR_VERSION: $MAJOR_VERSION"
echo "MINOR_VERSION: $MINOR_VERSION"
echo "PATCH_VERSION: $PATCH_VERSION"
echo "MAJOR_TAG: $MAJOR_TAG"
echo "MINOR_TAG: $MINOR_TAG"
echo "PATCH_TAG: $PATCH_TAG"
echo "MAJOR_VERSION=$MAJOR_VERSION" >> $GITHUB_OUTPUT
echo "MINOR_VERSION=$MINOR_VERSION" >> $GITHUB_OUTPUT
echo "PATCH_VERSION=$PATCH_VERSION" >> $GITHUB_OUTPUT
echo "MAJOR_TAG=$MAJOR_TAG" >> $GITHUB_OUTPUT
echo "MINOR_TAG=$MINOR_TAG" >> $GITHUB_OUTPUT
echo "PATCH_TAG=$PATCH_TAG" >> $GITHUB_OUTPUT
- name: Download digests
if: ${{ steps.image-status.outputs.IMAGE_STATUS == '404' }}
Expand Down

0 comments on commit 35805ba

Please sign in to comment.