Make the background of blockquotes light blue, so they stand out #66
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: Docker Image CI | |
on: | |
push: | |
paths: | |
- Dockerfile | |
- 'content/**' | |
- .github/workflows/publish_website_docker_image.yaml | |
workflow_dispatch: | |
jobs: | |
build: | |
env: | |
DOCKERIMAGE: docker.io/playtechnique/website:${{ github.run_number }} | |
LATESTDOCKERIMAGE: docker.io/playtechnique/website:latest | |
runs-on: ubuntu-latest | |
outputs: | |
dockerimage: ${{ steps.set-docker-image.outputs.dockerimage }} | |
steps: | |
- name: Log in to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_PAT }} | |
- name: Build and Publish the Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
push: true | |
tags: ${{ env.DOCKERIMAGE }} | |
- name: Build and Publish the latest Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
push: true | |
tags: ${{ env.LATESTDOCKERIMAGE }} | |
- name: what is the docker image and set it to github output | |
id: set-docker-image | |
run: | | |
echo ${{ env.DOCKERIMAGE }} | |
release-to-production: | |
uses: ./.github/workflows/release_website.yaml | |
secrets: | |
DIGITAL_OCEAN_ROOT_SSH: ${{ secrets.DIGITAL_OCEAN_ROOT_SSH }} | |
DIGITAL_OCEAN_PLAYTECHNIQUE: ${{ secrets.DIGITAL_OCEAN_PLAYTECHNIQUE }} | |