From d0b0ca1fe18b37aff1495fdabe2ff866ad26921f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolas=20G=C3=B6rlitz?= Date: Thu, 11 Apr 2024 15:49:24 +0200 Subject: [PATCH] fix --- .github/workflows/dev.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 1e304c2..e66a975 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -32,6 +32,13 @@ jobs: docker build --pull -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_BACKEND }}:latest -f backend.Dockerfile . docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_BACKEND }}:latest + - name: Log in to the Container registry + uses: docker/login-action@v2 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build frontend image run: | docker build --pull -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_FRONTEND }}:latest -f frontend.Dockerfile .