From 7717e77ead85939f7a24ef37a373aed85ef01ef9 Mon Sep 17 00:00:00 2001 From: hong seokho Date: Tue, 23 Jul 2024 15:46:19 +0900 Subject: [PATCH] test : github-actions ci/cd --- .github/workflows/core-application-ci-cd-flow.yml | 9 +-------- .../workflows/notification-application-ci-cd-flow.yml | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/core-application-ci-cd-flow.yml b/.github/workflows/core-application-ci-cd-flow.yml index 55914d960..68a4f77d3 100644 --- a/.github/workflows/core-application-ci-cd-flow.yml +++ b/.github/workflows/core-application-ci-cd-flow.yml @@ -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 @@ -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 diff --git a/.github/workflows/notification-application-ci-cd-flow.yml b/.github/workflows/notification-application-ci-cd-flow.yml index 9dc13281f..f2fc847ce 100644 --- a/.github/workflows/notification-application-ci-cd-flow.yml +++ b/.github/workflows/notification-application-ci-cd-flow.yml @@ -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 @@ -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