Skip to content

Merge pull request #189 from philips-software/dependabot/go_modules/g… #389

Merge pull request #189 from philips-software/dependabot/go_modules/g…

Merge pull request #189 from philips-software/dependabot/go_modules/g… #389

Workflow file for this run

on:
push:
branches:
- main
name: build and push
jobs:
build_and_push:
strategy:
matrix:
variant: [latest, debug]
name: Build and push ${{ matrix.variant }} docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
-
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.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Build
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile.${{ matrix.variant }}
tags: philipssoftware/fluent-bit-out-hsdp:${{ matrix.variant }}