From 1c70131de98aa13444a08fe898dd4753ef7a8316 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 6 Aug 2023 02:06:30 +0200 Subject: [PATCH] pipeline runner --- .gitea/workflows/builder.yaml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/builder.yaml b/.gitea/workflows/builder.yaml index 68fab27..8ea3aa7 100644 --- a/.gitea/workflows/builder.yaml +++ b/.gitea/workflows/builder.yaml @@ -21,16 +21,14 @@ jobs: with: registry: https://git.halis.io username: ${{ github.actor }} - password: not-a-pass - - name: Build image - run: docker build -f images/debian/Dockerfile.12.1-node18 . -t git.halis.io/athens-school/runner-images:debian12.1-node18 - - name: Push image - run: docker push git.halis.io/athens-school/runner-images:debian12.1-node18 - #- name: Build and push - # uses: https://github.com/docker/build-push-action@v4 - # with: - # push: true - # file: images/debian/Dockerfile.12.1-node18 - # tags: git.halis.io/athens-school/runner-images:debian12.1-node18 + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and push + uses: https://github.com/docker/build-push-action@v1 + with: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + push: true + file: images/debian/Dockerfile.12.1-node18 + tags: git.halis.io/athens-school/runner-images:debian12.1-node18