From 8b17abf8ffea2ff361c7d489e8596d1aadcf14db Mon Sep 17 00:00:00 2001 From: tomoron Date: Fri, 30 Jan 2026 13:51:26 +0100 Subject: [PATCH] initial commit --- action.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..e662d04 --- /dev/null +++ b/action.yml @@ -0,0 +1,29 @@ +inputs: + path: + description: 'the path where buildx should start' + required: false + default: '.' + name: + desciption: 'name of the package' + required: false + default: '${{ gitea.repository }}' + +runs: + using: "composite" + steps: + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + registry: git.tmoron.fr + username: ${{ secrets.PUSH_USERNAME }} + password: ${{ secrets.PUSH_PASSWORD }} + + - name: Build and push + uses: docker/build-push-action@v4 + with: + context: ${{ inputs.path }} + push: true + tags: git.tmoron.fr/${{ inputs.name }}:latest