Skip to content

Commit

Permalink
test : github-actions ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-1116 committed Jul 23, 2024
1 parent 6fd8210 commit 7717e77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/core-application-ci-cd-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@ jobs:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
Expand All @@ -101,13 +95,12 @@ jobs:
images: |
${{ steps.login-ecr.outputs.registry }}/${{ secrets.AWS_TEST_ENV_ECR_CORE_REPOSITORY_NAME }}
tags: |
type=raw,value=${{ github.event.number }}
type=schedule,pattern={{date 'YYYYMMDD-hhmmss'}}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./backend/core
platforms: linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
provenance: false
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/notification-application-ci-cd-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@ jobs:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
Expand All @@ -101,13 +95,12 @@ jobs:
images: |
${{ steps.login-ecr.outputs.registry }}/${{ secrets.AWS_TEST_ENV_NOTIFICATION_REPOSITORY_NAME }}
tags: |
type=raw,value=${{ github.event.number }}
type=schedule,pattern={{date 'YYYYMMDD-hhmmss'}}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./backend/notification
platforms: linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
provenance: false
Expand Down

0 comments on commit 7717e77

Please sign in to comment.