Skip to content

Merge pull request #835 from emmetaobrien/master #169

Merge pull request #835 from emmetaobrien/master

Merge pull request #835 from emmetaobrien/master #169

Workflow file for this run

name: Docker build and push.
on:
push:
paths:
- "projects/**"
- "tests/**"
branches:
- master
jobs:
build_push:
runs-on: ubuntu-latest
steps:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push
id: docker_build
uses: docker/[email protected]
with:
push: true
tags: ${{ secrets.DOCKERHUB_REPOSITORY }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}