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 27, 2024
1 parent 916937d commit fc64f29
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,18 @@ jobs:
- name: Build with Gradle
run: ./gradlew build

- 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 .
docker push ${{ secrets.DOCKER_USERNAME }}/uiseong-come-on:latest
- name: Dockerhub login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/uiseong-come-on:latest

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

0 comments on commit fc64f29

Please sign in to comment.