Skip to content

chore(deps): bump attack-navigator from cb83d65 to 9337e54 #68

chore(deps): bump attack-navigator from cb83d65 to 9337e54

chore(deps): bump attack-navigator from cb83d65 to 9337e54 #68

Workflow file for this run

name: build docker and publish
on:
push:
branches: ["*"]
tags: ["v*"]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name: Build docker image
uses: docker/build-push-action@v3
if: github.event_name == 'pull_request'
with:
file: Dockerfile
platforms: linux/arm64, linux/amd64
tags: mitre-attack-navigator:latest
- name: Build tag
if: github.event_name != 'pull_request'
uses: docker/build-push-action@v2
with:
push: true
platforms: linux/arm64, linux/amd64
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/mitre-attack-navigator:latest
file: Dockerfile