Skip to content

Build and push dev images #50

Build and push dev images

Build and push dev images #50

name: Build and push dev images
on: workflow_dispatch
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
ref: dev
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push scanners
uses: docker/build-push-action@v5
with:
context: .
file: ./docker//Dockerfile
push: true
tags: maibornwolff/secobserve-scanners:dev
-
name: Build and push ZAP
uses: docker/build-push-action@v5
with:
context: .
file: ./docker_zap//Dockerfile
push: true
tags: maibornwolff/secobserve-scanners-zap:dev