feat: cache

This commit is contained in:
ange 2024-05-02 16:38:09 +02:00
parent 2c7bab8c91
commit e06631721b
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
3 changed files with 24 additions and 21 deletions

View file

@ -16,12 +16,14 @@ inputs:
required: true
runs:
using: docker
image: Dockerfile
args:
- ACTION_DOCKERFILE=${{ inputs.dockerfile }}
- ACTION_TAG=${{ inputs.tag }}
- ACTION_REGISTRY=${{ gitea.server_url }}
- ACTION_IMAGE=${{ gitea.repository }}
- ACTION_USERNAME=${{ inputs.username }}
- ACTION_PASSWORD=${{ inputs.password }}
using: composite
steps:
- name: Build
run: ${{ gitea.action_path }}/build.sh
env:
- ACTION_DOCKERFILE=${{ inputs.dockerfile }}
- ACTION_TAG=${{ inputs.tag }}
- ACTION_REGISTRY=${{ gitea.server_url }}
- ACTION_IMAGE=${{ gitea.repository }}
- ACTION_USERNAME=${{ inputs.username }}
- ACTION_PASSWORD=${{ inputs.password }}