From ee5d1ea969f96354e1057d0120a75728609542a8 Mon Sep 17 00:00:00 2001 From: Alexilator Date: Mon, 19 Aug 2024 15:27:17 +0200 Subject: [PATCH] fix docker login --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e241da..41b591c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,12 @@ jobs: with: go-version: '^1.22.5' - run: go version + - name: Login to Package Registry + uses: docker/login-action@v2 + with: + registry: git.wittern.io + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Build the Docker image run: | go install github.com/a-h/templ/cmd/templ@latest