Skip to content
This repository was archived by the owner on Jun 24, 2026. It is now read-only.

Package ready to use image #1

Package ready to use image

Package ready to use image #1

Workflow file for this run

name: Release
on:
push:
tags:
- 'flag*'
permissions:
contents: write
packages: write
jobs:
docker:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Login to GHCR
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v6
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=ref,event=tag
type=raw,value=latest
- name: Build and push
uses: docker/build-push-action@v7
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Create release
uses: softprops/action-gh-release@v3
with:
generate_release_notes: true
body: |
Docker image:
docker pull ghcr.io/${{ github.repository }}:${{ github.ref_name }}
Run:
docker run --rm -p 1337:1337 \
ghcr.io/${{ github.repository }}:${{ github.ref_name }}