Florian f78979c6e2
Some checks failed
Building and publishing Homebrewery as Docker Image / build (release) Failing after 43s
Add debugging step to list directory contents during build process
2025-06-24 11:55:36 +02:00

53 lines
1.4 KiB
YAML

name: Building and publishing Homebrewery as Docker Image
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-24.04
env:
TAG_NAME: ${{ github.event.release.tag_name }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Checkout homebrewery
uses: actions/checkout@v4
with:
github-server-url: https://github.com
repository: naturalcrit/homebrewery.git
ref: ${{ github.event.release.tag_name }}
token: ${{ secrets.GH_TOKEN }}
path: homebrewery
- name: Debugging clones
run: |
ls -la .
ls -la homebrewery
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: git.morlana.online
username: ${{ github.repository_owner }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: |
git.morlana.online/${{ github.repository_owner }}/homebrewery:latest
git.morlana.online/${{ github.repository_owner }}/homebrewery:${{ github.event.release.tag_name }}