mirror of
https://github.com/getnora-io/nora.git
synced 2026-04-12 10:20:32 +00:00
ci: restore Astra Linux SE build, scan, and release image
This commit is contained in:
31
.github/workflows/release.yml
vendored
31
.github/workflows/release.yml
vendored
@@ -87,6 +87,30 @@ jobs:
|
|||||||
cache-from: type=gha,scope=redos
|
cache-from: type=gha,scope=redos
|
||||||
cache-to: type=gha,mode=max,scope=redos
|
cache-to: type=gha,mode=max,scope=redos
|
||||||
|
|
||||||
|
# ── Astra Linux SE ───────────────────────────────────────────────────────
|
||||||
|
- name: Extract metadata (astra)
|
||||||
|
id: meta-astra
|
||||||
|
uses: docker/metadata-action@v5
|
||||||
|
with:
|
||||||
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
flavor: suffix=-astra,onlatest=true
|
||||||
|
tags: |
|
||||||
|
type=semver,pattern={{version}}
|
||||||
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
|
type=raw,value=astra
|
||||||
|
|
||||||
|
- name: Build and push (astra)
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: Dockerfile.astra
|
||||||
|
platforms: linux/amd64
|
||||||
|
push: true
|
||||||
|
tags: ${{ steps.meta-astra.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta-astra.outputs.labels }}
|
||||||
|
cache-from: type=gha,scope=astra
|
||||||
|
cache-to: type=gha,mode=max,scope=astra
|
||||||
|
|
||||||
scan:
|
scan:
|
||||||
name: Scan (${{ matrix.name }})
|
name: Scan (${{ matrix.name }})
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -104,6 +128,8 @@ jobs:
|
|||||||
suffix: ""
|
suffix: ""
|
||||||
- name: redos
|
- name: redos
|
||||||
suffix: "-redos"
|
suffix: "-redos"
|
||||||
|
- name: astra
|
||||||
|
suffix: "-astra"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Log in to Container Registry
|
- name: Log in to Container Registry
|
||||||
@@ -225,6 +251,11 @@ jobs:
|
|||||||
docker pull ghcr.io/${{ github.repository }}:${{ github.ref_name }}-redos
|
docker pull ghcr.io/${{ github.repository }}:${{ github.ref_name }}-redos
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Astra Linux SE:**
|
||||||
|
```bash
|
||||||
|
docker pull ghcr.io/${{ github.repository }}:${{ github.ref_name }}-astra
|
||||||
|
```
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md)
|
See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user