Skip to content

Commit

Permalink
chore(action): Run for v4 branch (#3666)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfagoagas authored Apr 4, 2024
1 parent d4c22a0 commit 0659084
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/build-lint-push-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ on:
push:
branches:
# TODO: update it for v3 and v4
# - "v3"
- "master"
# Add master after changing branches
- "v3"
- "v4"
paths-ignore:
- ".github/**"
- "README.md"
Expand Down Expand Up @@ -69,19 +70,15 @@ jobs:
case ${PROWLER_VERSION_MAJOR} in
3)
# TODO: update it for v3 and v4
# echo "LATEST=v3-latest" >> "${GITHUB_ENV}"
# echo "STABLE_TAG=v3-stable" >> "${GITHUB_ENV}"
echo "LATEST=v3-latest" >> "${GITHUB_ENV}"
echo "STABLE_TAG=v3-stable" >> "${GITHUB_ENV}"
;;
4)
echo "LATEST=latest" >> "${GITHUB_ENV}"
echo "STABLE_TAG=stable" >> "${GITHUB_ENV}"
;;
# TODO: uncomment for v3 and v4
# 4)
# echo "LATEST=latest" >> "${GITHUB_ENV}"
# echo "STABLE_TAG=stable" >> "${GITHUB_ENV}"
# ;;
*)
# Fallback if any other version is present
echo "Releasing another Prowler major version, aborting..."
Expand Down

0 comments on commit 0659084

Please sign in to comment.