20 lines
480 B
YAML
20 lines
480 B
YAML
name: Docker build test
|
|
|
|
on:
|
|
workflow_call:
|
|
secrets:
|
|
password:
|
|
description: "Password or personal access token used to log against the Docker registry"
|
|
required: true
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ startsWith(gitea.ref, 'refs/tags/v') }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: docker/metadata-action@v5
|
|
id: meta
|
|
with:
|
|
images: ${{ vars.CONTAINER_REGISTRY }}/${{ gitea.repository }}
|