Skip to content

v1.6.3

v1.6.3 #19

Workflow file for this run

name: Publish Docker image
on:
release:
types: [published]
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE: disappear9/hentaiathome
jobs:
push_to_registry:
name: Push Docker image
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to ghcr.io
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE }}:latest
cache-from: type=gha,scope=${{ github.workflow }}
cache-to: type=gha,mode=max,scope=${{ github.workflow }}
annotations: |
org.opencontainers.image.source=https://github.com/Disappear9/H-at-H-docker
org.opencontainers.image.description=Dockerfile of Hentai@Home (arm,x64,x86)