From b35530bd7b6ed1c62cd6b580a198c23d3ad05faf Mon Sep 17 00:00:00 2001 From: ImMin5 Date: Fri, 19 Jan 2024 18:24:30 +0900 Subject: [PATCH] build: modify workflows --- .github/workflows/dispatch_release.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dispatch_release.yaml b/.github/workflows/dispatch_release.yaml index efd1784..4512d7c 100644 --- a/.github/workflows/dispatch_release.yaml +++ b/.github/workflows/dispatch_release.yaml @@ -113,7 +113,7 @@ jobs: echo "SERVICE=$(echo ${{ github.repository }} | cut -d '/' -f2)" >> $GITHUB_ENV - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -124,16 +124,14 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - tags: | - ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }} - name: Build and push Docker image - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + uses: docker/build-push-action@v5 with: context: . platforms: ${{ env.ARCH }} push: true - tags: ${{ steps.meta.outputs.tags }} + tags: ${{ env.VERSION }} labels: ${{ steps.meta.outputs.labels }} - name: Notice when job fails