Skip to content

Use Dynamic Viewport Height instead of Viewport Height #214

Use Dynamic Viewport Height instead of Viewport Height

Use Dynamic Viewport Height instead of Viewport Height #214

Workflow file for this run

name: Publish to GitHub Container Registry
on:
push:
branches:
- 'main'
pull_request:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: haya14busa/action-cond@v1
id: checkpr
with:
cond: ${{ github.event_name == 'pull_request' }}
if_true: false
if_false: true
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Log in to the Container registry
uses: docker/login-action@master
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@master
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@master
with:
context: .
file: Parlance/Dockerfile
push: ${{ steps.checkpr.outputs.value }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}