Skip to content

Build bcc images

Build bcc images #7

Workflow file for this run

name: Build bcc images
on:
workflow_dispatch: {}
permissions:
contents: read
jobs:
deploy:
strategy:
fail-fast: false
matrix:
bcc-version: ["v0.28.0", "v0.27.0", "v0.26.0", "v0.25.0", "v0.24.0"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Build docker images
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push image
id: docker_build
uses: docker/build-push-action@v4
with:
build-args: |
BCC_VERSION=${{ matrix.bcc-version }}
context: .
file: ./docker/Dockerfile.bcc
platforms: linux/amd64,linux/arm64/v8
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/ubuntu-bcc:${{ matrix.bcc-version }}