From c8bfc47ddfe7e68ce6eefe98f2dbd9187d922f78 Mon Sep 17 00:00:00 2001 From: mightypanders Date: Tue, 13 Jun 2023 23:47:22 +0200 Subject: [PATCH] add docker login --- .gitea/workflows/docker-build.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/docker-build.yaml b/.gitea/workflows/docker-build.yaml index 26a472d..cff6052 100644 --- a/.gitea/workflows/docker-build.yaml +++ b/.gitea/workflows/docker-build.yaml @@ -6,9 +6,13 @@ jobs: build-docker-image: runs-on: ubuntu-latest steps: - - name: ls - run: ls - name: Checkout repository uses: actions/checkout@v3 + - name: Log in to the Container registry + uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + with: + registry: ${{ secrets.REGISTRY }} + username: ${{ secrets.USER }} + password: ${{ secrets.DOCKER_TOKEN }} - name: use build script run: ./dockerbuild.sh