Files
docker-build-action/action.yml
Andreas Rocznik 088cc4b4cc
All checks were successful
Actionlint / build (push) Successful in 19s
Update action.yml
2025-10-22 17:45:30 +03:00

38 lines
1023 B
YAML

name: 'Tag Build and Push Docker image'
description: 'Tags verion in current repo, builds docker image and pushes it to registry'
inputs:
registry: # id of input
description: 'docker regisry host name'
required: true
default: 'gitea.phadric.de'
cache-registry: # id of input
description: 'docker regisry host name'
required: true
default: 'imagecache.phadric.de'
image_name:
description: 'name of the dockerimage'
required: true
default: ${{ github.repository }}
token:
description: 'repo auth token'
required: true
checkout:
description: 'checkout repo first'
default: 'true'
tag:
description: 'checkout repo first'
default: 'true'
runs:
using: "composite"
steps:
- name: Checkout repository
if: ${{ inputs.checkout == 'true' }}
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
fetch-depth: '0'
- name: debug Stuff
run: |
mount
ls -latr /