use inputs
Some checks failed
CI / build-and-test (push) Failing after 2m50s

This commit is contained in:
Tobias Klemp
2026-01-02 00:25:24 +01:00
parent 1a30ce6b75
commit 96cdd6d0a4
2 changed files with 10 additions and 4 deletions

View File

@@ -5,6 +5,12 @@ inputs:
tag:
description: 'Docker image tag'
required: true
REGISTRY_ACCESS_TOKEN:
description: 'Registry token to authenticate'
required: true
REGISTRY_USER:
description: 'Registry user to authenticate'
required: true
outputs:
image_url:
@@ -21,8 +27,8 @@ runs:
uses: docker/login-action@v3
with:
registry: ${{ vars.INSTANCE_URL }}
username: ${{ gitea.actor }}
password: ${REGISTRY_ACCESS_TOKEN}
username: ${{ inputs.REGISTRY_USER }}
password: ${{ inputs.REGISTRY_ACCESS_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v6