From f888045275b5f6472f1e533c5111c1878fda9648 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sat, 5 Aug 2023 12:52:54 +0200 Subject: [PATCH] pipeline runner --- .gitea/workflows/container-build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/container-build.yaml b/.gitea/workflows/container-build.yaml index cd78565..d90c794 100644 --- a/.gitea/workflows/container-build.yaml +++ b/.gitea/workflows/container-build.yaml @@ -17,6 +17,12 @@ jobs: run: echo "IMAGE_NAME=$(echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT - name: Docker login run: docker login ${{ GITHUB_SERVER_URL }} -u ${{ GITHUB_REPOSITORY_OWNER }} --password not-a-password + - name: Login to register + uses: docker/login-actions@v2 + with: + registry: git.halis.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Docker pull run: docker pull ubuntu:latest - name: Var envs