From 02dc917e1ff1822aca1d203f2d0327b22463540e Mon Sep 17 00:00:00 2001 From: Calin Lupas Date: Mon, 21 Apr 2025 15:40:17 -0400 Subject: [PATCH] Update GitHub Actions checkout version to v4 in CI and CI/CD workflows --- .github/workflows/ci.yml | 2 +- .github/workflows/cicd.yml | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f07fd7..31a7c32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: steps: # Checkout the repo - - uses: actions/checkout@main + - uses: actions/checkout@v4 # Setup .NET Core SDK - name: Setup .NET Core diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 164d430..ce4a542 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -23,7 +23,7 @@ jobs: steps: # Checkout the repo - - uses: actions/checkout@main + - uses: actions/checkout@v4 # Setup .NET Core SDK - name: Setup .NET Core @@ -70,4 +70,11 @@ jobs: - name: logout run: | - az logout \ No newline at end of file + az logout + + - uses: advanced-security/reusable-workflows/.github/workflows/container.yml@v0.2.0 + continue-on-error: true + with: + # This is used for tagging the container image + version: v1.0.0 + container-file: ./src/webapp01/Dockerfile \ No newline at end of file