create docker exporter #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: create docker exporter | |
on: | |
workflow_dispatch: | |
branches: | |
- master | |
jobs: | |
create-docker-bridge: | |
name: create docker Domotik Exporter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: docker/setup-qemu-action@v2 | |
- uses: docker/setup-buildx-action@v2 | |
- uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: docker/build-push-action@v2 | |
with: | |
context: '{{defaultContext}}:exporter' | |
push: true | |
platforms: linux/amd64,linux/arm64 | |
tags: ghcr.io/sylvek/domotik-exporter:latest |