Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:

concurrency:
group: ghas-security-scan-${{ github.ref }}
group: ghas-ci-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand All @@ -14,7 +14,7 @@ jobs:
security-events: write
uses: notdodo/github-actions/.github/workflows/infra-security-scan.yml@infra-scan-v0

python-ci-pulumi:
python-ci:
permissions:
contents: read
uses: notdodo/github-actions/.github/workflows/python-ci.yml@python-ci-v0
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Release Connector Image
on:
push:
branches:
- main

jobs:
infra-scan:
permissions:
contents: read
pull-requests: write
security-events: write
uses: notdodo/github-actions/.github/workflows/infra-security-scan.yml@infra-scan-v0

python-ci:
permissions:
contents: read
uses: notdodo/github-actions/.github/workflows/python-ci.yml@python-ci-v0
with:
working-directory: '.'

build-docker-image:
needs: [infra-scan, python-ci]
permissions:
attestations: write
contents: read
id-token: write
packages: write
security-events: write
uses: notdodo/github-actions/.github/workflows/docker-build-and-push.yml@docker-build-and-push-v0
with:
registry: docker.io
image: digintlab/opencti-connector
platforms: linux/amd64,linux/arm64
tags: |
type=raw,value=latest
type=sha
egress-policy-allowlist: >
deb.debian.org:443
deb.debian.org:80
files.pythonhosted.org:443
pypi.org:443
push: true
secrets:
registry-username: ${{ secrets.DOCKERHUB_USERNAME }}
registry-password: ${{ secrets.DOCKERHUB_TOKEN }}