Compare commits
2 Commits
f538683ab2
...
67833554bc
| Author | SHA1 | Date | |
|---|---|---|---|
|
67833554bc
|
|||
|
6418e84257
|
11
action.yml
11
action.yml
@ -10,6 +10,12 @@ inputs:
|
||||
desciption: 'name of the package'
|
||||
required: false
|
||||
default: '${{ gitea.repository }}'
|
||||
username:
|
||||
description: 'username used to push the package'
|
||||
required: true
|
||||
password:
|
||||
description: 'password used to push the package'
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
@ -21,12 +27,11 @@ runs:
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.tmoron.fr
|
||||
username: ${{ secrets.PUSH_USERNAME }}
|
||||
password: ${{ secrets.PUSH_PASSWORD }}
|
||||
username: ${{ inputs.username }}
|
||||
password: ${{ inputs.password }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: ${{ inputs.path }}
|
||||
push: true
|
||||
tags: git.tmoron.fr/${{ inputs.name }}:latest
|
||||
|
||||
Reference in New Issue
Block a user