Skip to content

Commit b0cb186

Browse files
authored
Merge pull request #101 from Staffbase/upwind2
2 parents e476333 + cb62b2b commit b0cb186

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,13 @@ jobs:
131131
| `gitops-prod` | Files which should be updated by the GitHub Action for PROD, must be relative to the root of the GitOps repository | |
132132
| `working-directory` | The directory in which the GitOps action should be executed. The docker-file variable should be relative to working directory. | `.` |
133133

134+
## Outputs
135+
136+
| Name | Description |
137+
|-----------------|---------------------|
138+
| `docker-digest` | Digest of the image |
139+
| `docker-tag` | Tag of the image |
140+
134141
## Contributing
135142

136143
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

action.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ outputs:
8484
docker-tag:
8585
description: 'Docker tag'
8686
value: ${{ steps.preparation.outputs.tag }}
87+
docker-digest:
88+
description: 'Docker digest'
89+
value: ${{ steps.docker_build.outputs.digest }}
8790

8891
runs:
8992
using: "composite"
@@ -293,16 +296,6 @@ runs:
293296
done <<< "${{ inputs.gitops-dev }}"
294297
fi
295298
296-
- name: Emit Image Build Event to Upwind.io
297-
if: vars.UPWIND_CLIENT_ID != '' && secrets.UPWIND_CLIENT_SECRET != '' && vars.UPWIND_ORGANIZATION_ID != ''
298-
uses: upwindsecurity/create-image-build-event-action@v2
299-
with:
300-
image: "${{ inputs.docker-image }}"
301-
image_sha: "${{ steps.docker_build.outputs.digest }}"
302-
upwind_client_id: ${{ vars.UPWIND_CLIENT_ID }}
303-
upwind_client_secret: ${{ secrets.UPWIND_CLIENT_SECRET }}
304-
upwind_organization_id: ${{ vars.UPWIND_ORGANIZATION_ID }}
305-
306299
branding:
307300
icon: 'git-merge'
308301
color: 'blue'

0 commit comments

Comments
 (0)