Skip to content

Improve error notifications (#21) #29

Improve error notifications (#21)

Improve error notifications (#21) #29

Workflow file for this run

name: docker
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
docker:
name: Docker Hub Publishing
runs-on: ubuntu-latest
strategy:
matrix:
include:
- build-args: LOCAL_WEBDRIVER=yes
tags: local
latest: true
- build-args: LOCAL_WEBDRIVER=no
tags: remote
latest: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ github.repository }}
tags: ${{ matrix.tags }}
flavor: latest=${{ matrix.latest }}
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
build-args: ${{ matrix.build-args }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}