Skip to content

Merge pull request #25 from seb-daehne/renovate/docker-build-push-act… #13

Merge pull request #25 from seb-daehne/renovate/docker-build-push-act…

Merge pull request #25 from seb-daehne/renovate/docker-build-push-act… #13

Workflow file for this run

name: Build Container (master)
on:
push:
branches:
- master
tags:
- 'v*'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
with:
image: tonistiigi/binfmt:latest
platforms: linux/arm/v7
- name: Available platforms
run: echo ${{ steps.qemu.outputs.platforms }}
- name: check setup
run: "find ."
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/arm/v7
push: true
tags: sebd/telegraf-rpi:latest