32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
name: build docker image
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
fdroidserver_version:
|
|
description: "Tag or Branch to use from fdroidserver"
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/alpine:3.21.2
|
|
steps:
|
|
- run: apk update && apk add --no-cache nodejs git docker
|
|
- uses: https://git.fucktheforce.de/actions/login-action@v3
|
|
with:
|
|
registry: git.fucktheforce.de
|
|
username: ${{ vars.PACKAGE_REGISTRY_USERNAME }}
|
|
password: ${{ secrets.THEDEVSTACK_BOT_ACCESS_TOKEN_PACKAGES }}
|
|
- uses: https://git.fucktheforce.de/actions/checkout@v4
|
|
- uses: https://git.fucktheforce.de/actions/setup-buildx-action@v3
|
|
- uses: https://git.fucktheforce.de/actions/build-push-action@v6
|
|
with:
|
|
push: true
|
|
tags: |
|
|
git.fucktheforce.de/thedevstack/fdroid-build-container/fdroidserver:latest
|
|
git.fucktheforce.de/thedevstack/fdroid-build-container/fdroidserver:${{ inputs.fdroidserver_version }}
|
|
build-args: |
|
|
FDROIDSERVER_VERSION=${{ inputs.fdroidserver_version }}
|
|
|