Skip to content

Commit

Permalink
Added support for publishing manifests on releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvenga committed May 31, 2022
1 parent 74885f6 commit ffb440b
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,9 @@ jobs:
needs:
- generate-version
- build-image
- build-manifests
- release-internal
permissions:
contents: write
env:
BUILD_VERSION: ${{ needs.generate-version.outputs.version }}
IMAGE_NAME: docker.io/contrast/agent-operator
Expand Down Expand Up @@ -263,3 +264,20 @@ jobs:
src: contrastdotnet.azurecr.io/agent-operator/agent-operator@${{ needs.build-image.outputs.digest }}
dst: |
${{ steps.meta.outputs.tags }}
- uses: actions/download-artifact@v3
id: download-artifacts
with:
name: manifests
path: ./manifests
- name: Publish
uses: ncipollo/release-action@v1
with:
body: |
Version v${{ env.BUILD_VERSION }} released!
```
contrast/agent-operator:${{ env.BUILD_VERSION }}
contrast/agent-operator@${{ needs.build-image.outputs.digest }}
```
artifacts: ${{ steps.download-artifacts.outputs.download-path }}/*.yaml
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true

0 comments on commit ffb440b

Please sign in to comment.