Skip to content

Merge pull request #4 from trusted/FND-2657 #2

Merge pull request #4 from trusted/FND-2657

Merge pull request #4 from trusted/FND-2657 #2

name: Build & Publish a Docker image
on:
push:
branches: ["master"]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/[email protected]
with:
push: true
tags: ghcr.io/trusted/url-to-pdf-api:c-${{ github.sha }}