From e3ce76a56210d7958d173a46d55fd54674b64024 Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Sun, 2 Jun 2024 20:06:27 -0500 Subject: [PATCH] =?UTF-8?q?refactor(dir):=20=E2=99=BB=EF=B8=8F=F0=9F=93=A6?= =?UTF-8?q?=20use=20GitHub=20Package=20Registry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/azure-dev.yml | 7 +++++++ services/FilterLists.AppHost/azure.yaml | 3 +++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml index 59ea8f1748..e9e594f641 100644 --- a/.github/workflows/azure-dev.yml +++ b/.github/workflows/azure-dev.yml @@ -44,5 +44,12 @@ jobs: env: AZD_INITIAL_ENVIRONMENT_CONFIG: ${{ secrets.AZD_INITIAL_ENVIRONMENT_CONFIG }} + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Deploy Application run: azd deploy --no-prompt -C services/FilterLists.AppHost diff --git a/services/FilterLists.AppHost/azure.yaml b/services/FilterLists.AppHost/azure.yaml index a1f03c7862..80c24a9034 100644 --- a/services/FilterLists.AppHost/azure.yaml +++ b/services/FilterLists.AppHost/azure.yaml @@ -6,3 +6,6 @@ services: language: dotnet project: ./FilterLists.AppHost.csproj host: containerapp + docker: + registry: ghcr.io/collinbarrett + image: filterlists-directory-api \ No newline at end of file