From 887440fd8605df60146da1bd4fe79d47aa34fa76 Mon Sep 17 00:00:00 2001 From: Nikita Andriyanov Date: Thu, 17 Apr 2025 13:49:53 +0300 Subject: [PATCH] fix action --- .gitea/actions/test.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/actions/test.yaml diff --git a/.gitea/actions/test.yaml b/.gitea/actions/test.yaml new file mode 100644 index 0000000..ca12606 --- /dev/null +++ b/.gitea/actions/test.yaml @@ -0,0 +1,23 @@ +name: 'Docker build and push' +description: 'Setup docker, build image and push' + +inputs: + password: + description: 'Password or personal access token used to log against the Docker registry' + required: false + +runs: + using: 'composite' + steps: + - run: "echo a: Set up QEMU" + + - run: | + sleep 10 + echo 'sleep 10 end' + + - run: "echo b: Login to DockerHub" + if: ${{ inputs.password != '' }} + + - run: | + sleep 10 + echo 'c: Set up Docker BuildX' \ No newline at end of file