Skip to content

Commit

Permalink
set tomcat to 9 when version is different than 23
Browse files Browse the repository at this point in the history
  • Loading branch information
pmacius committed Nov 5, 2024
1 parent 7ecf62b commit 1c2a0f2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/reusuable_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@ jobs:
'\(.).cache-to=type=registry,ref=${{ env.CACHE_TARGET }}:${{ inputs.tag }}-\(.)"' >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
- name: Set Tomcat environment variables
run: |
if [[ '${{ inputs.acs_version }}' != '23' ]]; then
echo "TOMCAT_MAJOR=9" >> $GITHUB_ENV
echo "TOMCAT_VERSION=9.0.96" >> $GITHUB_ENV
echo "TOMCAT_SHA512=ef3ac81debbc3a519c43d1fdb1c88ab26a8052af424d81bceccfbd6e663050a06d7aad7960fd5d11c17849829daebbebf33d92ac1158902283d0e534514aab93" >> $GITHUB_ENV
fi
- name: Bake Docker images
env:
TARGETARCH: ${{ inputs.acs_version == '23' && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
Expand Down

0 comments on commit 1c2a0f2

Please sign in to comment.