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

Commit

Permalink
Update azure-dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gwon11225 authored Aug 26, 2024
1 parent ed2af5d commit d3ab1a5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
java-version: '17'
distribution: 'temurin'

- name: yaml file setting
run: |
echo "${{ secrets.APPLICATION_YAML }}" > ./src/main/resources/application.yaml
- name: Grant execute permission for gradlew
run: chmod +x gradlew

Expand All @@ -43,10 +47,7 @@ jobs:
- name: Docker build
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker build -t ${{ secrets.DOCKER_USERNAME }}/uiseong-come-on \
--build-arg DATABASE_URL=${{ secrets.DB_URL }} \
--build-arg DATABASE_USER=${{ secrets.DB_USERNAME }} \
--build-arg DATABASE_PASSWORD=${{ secrets.DB_PASSWORD }} .
docker build -t ${{ secrets.DOCKER_USERNAME }}/uiseong-come-on .
docker push ${{ secrets.DOCKER_USERNAME }}/uiseong-come-on:latest
- name: Install azd
Expand Down Expand Up @@ -83,4 +84,4 @@ jobs:

- name: Deploy Application
run: |
azd deploy --environment ${{ env.AZURE_ENV_NAME }} --no-prompt
azd deploy --environment ${{ env.AZURE_ENV_NAME }} --no-prompt

0 comments on commit d3ab1a5

Please sign in to comment.