Skip to content

Image Zooming and Image Animations made for viewing the image #304

Image Zooming and Image Animations made for viewing the image

Image Zooming and Image Animations made for viewing the image #304

Workflow file for this run

---
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
install: true
-
name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Determine metadata for DockerHub
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ secrets.DOCKERHUB_USERNAME || 'local' }}/wikidocumentaries-ui
flavor: |
latest=${{ github.ref == 'refs/heads/master' }}
-
name: Build and push to DockerHub
uses: docker/build-push-action@v2
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}