Update qwahzi-staging with squidfunk/mkdocs-material:latest image updates from mkdocs-update #239
Workflow file for this run
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: publish-docker-pr | |
on: pull_request | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
jobs: | |
build_publish: | |
runs-on: ubuntu-latest | |
env: | |
PRODUCTION: TRUE | |
steps: | |
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3.1.0 | |
# Build and test Docker image | |
- run: | | |
echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u nanocurrency --password-stdin | |
docker pull squidfunk/mkdocs-material:latest | |
docker build -t ghcr.io/nanocurrency/nano-docs:pr-${{ env.PR_NUMBER }} . | |
docker push ghcr.io/nanocurrency/nano-docs:pr-${{ env.PR_NUMBER }} |