Skip to content

Notifications dashboard #131

Notifications dashboard

Notifications dashboard #131

Workflow file for this run

name: Build Docs Docker image
on:
pull_request:
paths:
- "docs/**"
push:
branches: ["main"]
paths:
- "docs/**"
jobs:
build-and-push-dockerfile-image:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:docs"
secrets: |
gh_token=${{ secrets.GH_TOKEN }}
file: ./Dockerfile
push: ${{ github.event_name == 'push' }}
# Make sure to replace with your own namespace and repository
tags: |
dlvhdr/gh-dash-docs:latest
platforms: linux/amd64