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