Skip to content

2.0.0

2.0.0 #8

Workflow file for this run

name: Build Docker Image
on:
release:
types:
- published
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up labels
id: meta
uses: docker/metadata-action@v4
with:
tags: |
bryntum/pdf-export-server:${{ github.event.release.tag_name }}
bryntum/pdf-export-server:latest
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ steps.meta.output.tags }}