2024-08-14 14:56:45 +00:00
|
|
|
name: Docker build test
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
2024-08-14 15:08:29 +00:00
|
|
|
secrets:
|
2024-08-14 15:05:17 +00:00
|
|
|
password:
|
|
|
|
description: "Password or personal access token used to log against the Docker registry"
|
|
|
|
required: true
|
2024-08-14 14:56:45 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: ${{ startsWith(gitea.ref, 'refs/tags/v') }}
|
|
|
|
steps:
|
2024-08-14 15:23:19 +00:00
|
|
|
- uses: actions/checkout@v4
|
2024-08-14 15:20:24 +00:00
|
|
|
- uses: docker/metadata-action@v5
|
|
|
|
id: meta
|
|
|
|
with:
|
|
|
|
images: ${{ vars.CONTAINER_REGISTRY }}/${{ gitea.repository }}
|