From 879e1d028460756771bcd67ef0a9dcf5e3c68a59 Mon Sep 17 00:00:00 2001 From: Ondrej Vlach Date: Fri, 10 Apr 2026 02:21:33 +0200 Subject: [PATCH] first commit --- .gitea/workflows/release_docker.yaml | 33 ++++++++++++++++++++++++++++ README.md | 0 blue-build-fc.Dockerfile | 4 ++++ 3 files changed, 37 insertions(+) create mode 100644 .gitea/workflows/release_docker.yaml create mode 100644 README.md create mode 100644 blue-build-fc.Dockerfile diff --git a/.gitea/workflows/release_docker.yaml b/.gitea/workflows/release_docker.yaml new file mode 100644 index 0000000..ec24fdb --- /dev/null +++ b/.gitea/workflows/release_docker.yaml @@ -0,0 +1,33 @@ +name: release +run-name: release +on: + push: + branches: + - main + tags: + - "*" +jobs: + docker: + name: docker + runs-on: ubuntu-latest + outputs: + docker_image_version: ${{ steps.docker-image.outputs.image_version }} + container: + image: ovlach/docker-gitea:v0.0.4-alpha + steps: + - uses: https://github.com/actions/checkout.git@v4 + - uses: https://github.com/olegtarasov/get-tag@v2.1.4 + id: tagName + with: + tagRegex: "v(?.*)" + - uses: actions/docker-image@v2 + name: bluebuild - base image + id: docker_image_base + with: + deployment_login: ${{ secrets.DEPLOYMENT_PACKAGE }} + registry: "git.nanobyte.cz" + image_name: git.nanobyte.cz/$GITHUB_REPOSITORY_OWNER/blue-build + additional_args: --build-arg GITEA_TOKEN="${{secrets.DEPLOYMENT_PACKAGE}}" + docker_version_prefix: "bb" + docker_file: "blue-build-fc.Dockerfile" + additional_version: "${{steps.tagName.outputs.version}}" diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/blue-build-fc.Dockerfile b/blue-build-fc.Dockerfile new file mode 100644 index 0000000..e8a5ba5 --- /dev/null +++ b/blue-build-fc.Dockerfile @@ -0,0 +1,4 @@ +FROM quay.io/fedora/fedora:43 + +RUN dnf -y install docker nodejs git skopeo sudo jq cargo +RUN cargo install --locked blue-build