Some checks failed
Build Docker Linux ARM64 Release / build-docker-linux-arm64-release (push) Failing after 11m22s
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
name: Build Docker Linux ARM64 Release
|
|
run-name: Release-Docker-Linux-ARM64
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-docker-linux-arm64-release:
|
|
runs-on: [self-hosted, linux, arm64, docker]
|
|
steps:
|
|
- name: Install packages
|
|
run: apk add --no-cache git curl wget unzip bash nodejs npm docker
|
|
|
|
- name: Clone the repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Login to own image registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: 192.168.178.45:3000
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Setup .NET10
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
dotnet-version: '10.0.x'
|
|
|
|
- name: Build and Push Image
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
platforms: linux/arm64
|
|
push: true
|
|
tags: gitea.penry.de/couchlog/linux-arm64:latest
|
|
load: true
|
|
|
|
- name: Make Tar from image
|
|
run: |
|
|
docker save -o couchlog-linux-arm64.tar gitea.penry.de/couchlog/linux-arm64:latest
|
|
|
|
- name: Release
|
|
uses: akkuman/gitea-release-action@v1
|
|
with:
|
|
files: |-
|
|
couchlog-linux-arm64.tar |