feat: cache
This commit is contained in:
parent
2c7bab8c91
commit
e06631721b
3 changed files with 24 additions and 21 deletions
20
action.yaml
20
action.yaml
|
@ -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 }}
|
||||
|
|
Reference in a new issue