From aa25d8e3515bfcefb4bd2959bbc7c847f936b485 Mon Sep 17 00:00:00 2001 From: Fredi Machado Date: Sat, 25 May 2024 15:27:51 +1000 Subject: [PATCH] Update actions --- .github/workflows/admin-api.yml | 10 +++++----- .github/workflows/barista-api.yml | 10 +++++----- .github/workflows/cashier-api.yml | 10 +++++----- .github/workflows/deploy_template.yml | 4 ++-- .github/workflows/web-ui.yml | 10 +++++----- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/admin-api.yml b/.github/workflows/admin-api.yml index f1b63a4..ad52221 100644 --- a/.github/workflows/admin-api.yml +++ b/.github/workflows/admin-api.yml @@ -29,12 +29,12 @@ jobs: steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x @@ -61,7 +61,7 @@ jobs: run: dotnet publish -c Release --no-restore --no-build -o ./output - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -69,14 +69,14 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=semver,pattern={{version}},value=${{ env.VERSION }} - name: Build and push Docker image - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + uses: docker/build-push-action@v5 with: context: src/Admin/NCafe.Admin.Api push: true diff --git a/.github/workflows/barista-api.yml b/.github/workflows/barista-api.yml index faf1358..61d94be 100644 --- a/.github/workflows/barista-api.yml +++ b/.github/workflows/barista-api.yml @@ -29,12 +29,12 @@ jobs: steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x @@ -61,7 +61,7 @@ jobs: run: dotnet publish -c Release --no-restore --no-build -o ./output - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -69,14 +69,14 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=semver,pattern={{version}},value=${{ env.VERSION }} - name: Build and push Docker image - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + uses: docker/build-push-action@v5 with: context: src/Barista/NCafe.Barista.Api push: true diff --git a/.github/workflows/cashier-api.yml b/.github/workflows/cashier-api.yml index 704469f..588ed78 100644 --- a/.github/workflows/cashier-api.yml +++ b/.github/workflows/cashier-api.yml @@ -29,12 +29,12 @@ jobs: steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x @@ -64,7 +64,7 @@ jobs: run: dotnet publish -c Release --no-restore --no-build -o ./output - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -72,14 +72,14 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=semver,pattern={{version}},value=${{ env.VERSION }} - name: Build and push Docker image - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + uses: docker/build-push-action@v5 with: context: src/Cashier/NCafe.Cashier.Api push: true diff --git a/.github/workflows/deploy_template.yml b/.github/workflows/deploy_template.yml index 1b2d9da..844b82b 100644 --- a/.github/workflows/deploy_template.yml +++ b/.github/workflows/deploy_template.yml @@ -31,10 +31,10 @@ jobs: steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download release artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: release-artifacts path: ${{ inputs.project_folder }}/deploy/ diff --git a/.github/workflows/web-ui.yml b/.github/workflows/web-ui.yml index 39fba0b..ee89c14 100644 --- a/.github/workflows/web-ui.yml +++ b/.github/workflows/web-ui.yml @@ -29,12 +29,12 @@ jobs: steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x @@ -58,7 +58,7 @@ jobs: run: dotnet publish -c Release --no-restore --no-build -o ./output - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -66,14 +66,14 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=semver,pattern={{version}},value=${{ env.VERSION }} - name: Build and push Docker image - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + uses: docker/build-push-action@v5 with: context: src/UI/NCafe.Web push: true