Files
CouchLog/.gitea/workflows/linux_arm64_docker-release.yaml
Henry ab1ceea1e1
All checks were successful
Build Docker Linux ARM64 Release / build-docker-linux-arm64-release (push) Successful in 1m39s
.gitea/workflows/linux_arm64_docker-release.yaml aktualisiert
2025-12-22 01:04:31 +01:00

58 lines
1.6 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: gitea.penry.de
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 Linux ARM64 Docker Image
run: |
docker build \
-t gitea.penry.de/couchlog/linux-arm64:latest \
--label "org.opencontainers.image.source=https://gitea.penry.de/${{ github.repository }}" \
.
#- 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: Push
run: docker push gitea.penry.de/penry/linux-arm64:latest
- name: Make Tar from image
run: |
docker save -o couchlog-linux-arm64.tar gitea.penry.de/penry/linux-arm64:latest
- name: Release
uses: akkuman/gitea-release-action@v1
with:
files: |-
couchlog-linux-arm64.tar