Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
yjm080821 committed Aug 26, 2024
1 parent f2b9e0c commit 63fa4b1
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ on:
- main

# Set up permissions for deploying with secretless Azure federated credentials
# https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#set-up-azure-login-with-openid-connect-authentication
permissions:
id-token: write
contents: read


jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -24,24 +26,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Remove existing containerd if it exists
run: |
sudo apt-get remove -y containerd || true
- name: Install Docker
run: |
sudo apt-get update
sudo apt-get install -y docker.io
sudo systemctl start docker
sudo systemctl enable docker
- name: Verify Docker installation
run: docker --version

- name: Install azd
uses: Azure/[email protected]

- name: Log in with Azure (Federated Credentials)
run: |
azd auth login `
Expand All @@ -50,6 +36,7 @@ jobs:
--tenant-id "$Env:AZURE_TENANT_ID"
shell: pwsh


- name: Provision Infrastructure
run: azd provision --no-prompt
env:
Expand Down

0 comments on commit 63fa4b1

Please sign in to comment.