Skip to content

Merge pull request #72 from TetrisIQ/renovate/npm-sveltejs-kit-vulner… #97

Merge pull request #72 from TetrisIQ/renovate/npm-sveltejs-kit-vulner…

Merge pull request #72 from TetrisIQ/renovate/npm-sveltejs-kit-vulner… #97

Workflow file for this run

name: Build and publish a Docker image to ghcr.io
on:
# publish on releases, e.g. v2.1.13 (image tagged as "2.1.13" - "v" prefix is removed)
release:
types: [published]
# publish on pushes to the main branch (image tagged as "latest")
push:
branches:
- main
jobs:
docker_publish:
runs-on: 'ubuntu-latest'
permissions:
contents: 'read'
packages: 'write'
steps:
- uses: actions/checkout@v4
# https://github.com/marketplace/actions/push-to-ghcr
- name: Build and publish a Docker image for ${{ github.repository }}
uses: tetrisiq/push-to-ghcr@master
with:
image_name: ${{ github.repository }} # it will be lowercased internally
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: run deploy hook
run: curl ${{ secrets.DEPLOY_HOOK }}