diff --git a/.github/workflows/build-lint-push-containers.yml b/.github/workflows/build-lint-push-containers.yml index 6976abfc9d0..1b186b10b8e 100644 --- a/.github/workflows/build-lint-push-containers.yml +++ b/.github/workflows/build-lint-push-containers.yml @@ -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" @@ -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..."