From 550104fcb78a9a43e09574f98226906c46025460 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Mon, 7 Aug 2023 11:11:40 +0200 Subject: [PATCH] pipeline runner --- .gitea/workflows/builder.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/builder.yaml b/.gitea/workflows/builder.yaml index 1ee1e06..3b6a8d5 100644 --- a/.gitea/workflows/builder.yaml +++ b/.gitea/workflows/builder.yaml @@ -14,4 +14,21 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Start shell build - run: CONTAINER_TOKEN=${{ secrets.GITHUB_TOKEN }} ./build.sh + run: CONTAINER_TOKEN=${{ secrets.CONTAINER_TOKEN }} ./build.sh + - name: Generate tag + id: tag_vars + run: echo "IMAGE_NAME=$(echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT + - name: Login to register + uses: https://gitea.com/docker/login-action@v2 + with: + registry: https://git.halis.io + username: ${{ github.actor }} + password: ${{ secrets.CONTAINER_TOKEN }} + - name: Build and push + uses: https://github.com/docker/build-push-action@v1 + with: + push: true + file: images/debian/Dockerfile.12.1-node18 + tags: git.halis.io/athens-school/runner-images:debian12.1-node18 + +