зеркало из
https://github.com/ceios/ceios.git
synced 2025-10-29 20:16:05 +02:00
Modified version of the AttackFlow Builder from MITRE. Includes DISARM framework components with full integration of QOL and STIX objects.
35 строки
925 B
YAML
35 строки
925 B
YAML
name: Publish Docker image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Log in to the Container registry
|
|
uses: docker/login-action@v1
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Get Docker metadata
|
|
id: af_meta
|
|
uses: docker/metadata-action@v4
|
|
with:
|
|
images: ghcr.io/${{ github.repository }}
|
|
labels: org.opencontainers.image.url=https://ctid.mitre-engenuity.org/our-work/attack-flow/
|
|
- name: Build Attack Flow Docker image
|
|
uses: docker/build-push-action@v2
|
|
with:
|
|
context: .
|
|
push: true
|
|
tags: ${{ steps.af_meta.outputs.tags }}
|
|
labels: ${{ steps.af_meta.outputs.labels }}
|