ci: build tagged releases
Some checks failed
Build release images / build-container (push) Failing after 13s
Build latest image / build-container (push) Failing after 12s

This commit is contained in:
2025-03-28 16:52:44 +01:00
parent ab6ce62649
commit 810be2c0cd

View File

@@ -0,0 +1,27 @@
name: Build release images
on:
push:
tags:
- "*.*.*"
jobs:
build-container:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to registry
uses: docker/login-action@v3
with:
registry: registry.odit.services
username: ${{ vars.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: |
${{ vars.REGISTRY }}/lfk/docs:${{ github.ref_name }}
platforms: linux/amd64,linux/arm64