Skip to content

Bump dependencies

Bump dependencies #40

Workflow file for this run

on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
jobs:
push_to_registry:
name: Build Docker image and push to Docker Hub on master
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
with:
images: spawnia/md-to-pdf
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: spawnia
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}