Skip to content

Commit

Permalink
Merge pull request #44 from depromeet/chore/action-change
Browse files Browse the repository at this point in the history
chore: 깃허브 액션 플러그인 변경
  • Loading branch information
clean2001 authored Jul 26, 2024
2 parents 84d3465 + 31c775d commit 7e60f64
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci-cd-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ jobs:
- name: Run tests:${{ env.MODULE }}
run: ./gradlew :${{ env.MODULE }}:test

# - name: docker arm64 build set up - qemu
# uses: docker/setup-qemu-action@v2
#
# - name: docker arm64 build set up - buildx
# uses: docker/setup-buildx-action@v2
# - name: docker arm64 build set up - qemu
# uses: docker/setup-qemu-action@v2
#
# - name: docker arm64 build set up - buildx
# uses: docker/setup-buildx-action@v2

- name: login github container registry
uses: docker/login-action@v2
Expand All @@ -93,7 +93,7 @@ jobs:
push: true
tags: |
${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.IMAGE_NAME }}/${{ env.MODULE }}:latest
# ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.IMAGE_NAME }}/${{ env.MODULE }}:${{ github.run_id }}
# ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.IMAGE_NAME }}/${{ env.MODULE }}:${{ github.run_id }}


deploy:
Expand All @@ -114,7 +114,7 @@ jobs:
echo "${{ secrets.APPLICATION_YAML_API }}" > ./${{ env.MODULE }}/infra/${{ env.DEPLOY_TARGET }}/application.yaml
- name: Send Docker Compose
uses: appleboy/scp-action@master
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.INSTANCE_HOST }}
username: ${{ secrets.INSTANCE_USERNAME }}
Expand All @@ -124,7 +124,7 @@ jobs:
target: "/home"

- name: Deploy with Docker Compose
uses: appleboy/ssh-action@master
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.INSTANCE_HOST }}
username: ${{ secrets.INSTANCE_USERNAME }}
Expand Down

0 comments on commit 7e60f64

Please sign in to comment.