From b9898100cedc551327d99b4843390e4556d6a11d Mon Sep 17 00:00:00 2001 From: Jan Gleytenhoover Date: Thu, 11 Jul 2024 06:50:28 +0000 Subject: [PATCH] revert 7e4b1f0a2179ea661dc28f6aeafdd03b20d0ef86 revert Try reusable workflows --- .gitea/workflows/node-ssh.yaml | 13 ++++++++++++- .gitea/workflows/setup-builder.yaml | 20 -------------------- 2 files changed, 12 insertions(+), 21 deletions(-) delete mode 100644 .gitea/workflows/setup-builder.yaml diff --git a/.gitea/workflows/node-ssh.yaml b/.gitea/workflows/node-ssh.yaml index 977e2e7..4743f60 100644 --- a/.gitea/workflows/node-ssh.yaml +++ b/.gitea/workflows/node-ssh.yaml @@ -8,7 +8,18 @@ jobs: container: catthehacker/ubuntu:act-latest steps: - - uses: ./.gitea/workflows/setup-builder.yaml + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to Docker Registry + uses: docker/login-action@v3 + with: + registry: git.kjan.de + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push uses: docker/build-push-action@v5 diff --git a/.gitea/workflows/setup-builder.yaml b/.gitea/workflows/setup-builder.yaml deleted file mode 100644 index 6ec7569..0000000 --- a/.gitea/workflows/setup-builder.yaml +++ /dev/null @@ -1,20 +0,0 @@ -on: - workflow_call - - -jobs: - setup: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Registry - uses: docker/login-action@v3 - with: - registry: git.kjan.de - username: ${{ secrets.REGISTRY_USERNAME }} - password: ${{ secrets.REGISTRY_TOKEN }}