Files
egg-avorion/.github/workflows/docker-publish.yml
alexveley a7d78e8b19
Some checks failed
Build and Publish Docker Image / docker (push) Failing after 2m22s
Add Avorion Pterodactyl compatibility image
2026-04-25 00:39:42 -04:00

42 lines
978 B
YAML

name: Build and Publish Docker Image
on:
push:
branches: [ "main" ]
tags: [ "v*" ]
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/avorion-steamcmd-nsswrap
tags: |
type=raw,value=latest
type=ref,event=tag
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}