uLinkShortener/.github/workflows/release.yml
2025-02-21 02:34:36 +01:00

26 lines
571 B
YAML

name: Build on Release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Log in to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
no-cache: true
tags: ghcr.io/marcus7i/ulinkshortener:latest