We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab26608 commit cece2cbCopy full SHA for cece2cb
.github/workflows/api-container-build-push.yml
@@ -99,6 +99,12 @@ jobs:
99
with:
100
persist-credentials: false
101
102
+ - name: Pin prowler SDK to latest master commit
103
+ if: github.event_name == 'push'
104
+ run: |
105
+ LATEST_SHA=$(git ls-remote https://github.com/prowler-cloud/prowler.git refs/heads/master | cut -f1)
106
+ sed -i "s|prowler-cloud/prowler.git@master|prowler-cloud/prowler.git@${LATEST_SHA}|" api/pyproject.toml
107
+
108
- name: Login to DockerHub
109
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
110
0 commit comments