Skip to content

README: docker pull #487

README: docker pull

README: docker pull #487

Workflow file for this run

name: build
on:
push:
branches:
- master
permissions:
contents: read
id-token: write
packages: write
pages: write
env:
REGISTRY: ghcr.io
IMG_NAME: ${{github.repository}}
jobs:
Prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/login-action@v2
with:
registry: ${{env.REGISTRY}}
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- uses: docker/metadata-action@v4
with:
images: ${{env.REGISTRY}}/${{env.IMG_NAME}}
id: meta
- uses: docker/build-push-action@v3
with:
push: true
tags: ${{steps.meta.outputs.tags}}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- run: sbt doc
- uses: actions/configure-pages@v2
- uses: actions/jekyll-build-pages@v1
with:
source: ./target/scala-2.13
- uses: actions/upload-pages-artifact@v1
Publish:
needs: Prepare
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
steps:
- uses: actions/deploy-pages@v1