Debian Codegraph @

.github/workflows/docker-build.yml

raw symbols SCIP
1 name: Build and Push Docker Images
2
3 on:
4 push:
5 branches: [ "master" ]
6 pull_request:
7 branches: [ "master" ]
8
9 jobs:
10 docker:
11 runs-on: ubuntu-latest
12 steps:
13 - name: Checkout
14 uses: actions/checkout@v4
15 - name: Set up QEMU
16 uses: docker/setup-qemu-action@v3
17 - name: Set up Docker Buildx
18 uses: docker/setup-buildx-action@v3
19 - name: Login to Docker Hub
20 uses: docker/login-action@v3
21 with:
22 username: ${{ secrets.DOCKERHUB_USERNAME }}
23 password: ${{ secrets.DOCKERHUB_TOKEN }}
24 - name: Build and push
25 uses: docker/build-push-action@v5
26 with:
27 platforms: linux/amd64,linux/arm64
28 push: true
29 tags: bettercap/bettercap:latest