ci / test (services/knowledge) (push) Successful in 47s
ci / test (services/agent) (push) Successful in 55s
ci / test (platform/neuroforge) (push) Successful in 56s
ci / docker-build (push) Failing after 1m10s
ci / test (services/control) (push) Successful in 1m26s
release-tag / release-image (push) Successful in 6m43s
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
name: release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
release-images:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
REGISTRY: git.send.nrw/sendnrw
|
|
RUNNER_TOOL_CACHE: /toolcache
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: docker/setup-qemu-action@v3
|
|
- uses: docker/setup-buildx-action@v3
|
|
with:
|
|
config-inline: |
|
|
[registry."git.send.nrw"]
|
|
http = true
|
|
insecure = true
|
|
- uses: docker/login-action@v3
|
|
with:
|
|
registry: git.send.nrw
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
- name: Resolve immutable release version
|
|
id: meta
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
VERSION="$(git describe --tags --exact-match HEAD | sed 's/^v//')"
|
|
test -n "$VERSION"
|
|
test "$(cat VERSION)" = "$VERSION"
|
|
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
|
- name: Build and push all release images
|
|
env:
|
|
IMAGE_TAG: ${{ steps.meta.outputs.version }}
|
|
run: docker buildx bake --push
|