From 256c7940b0d16814e2eff3d36ae8daca5416d32f Mon Sep 17 00:00:00 2001 From: Jim Laney Date: Fri, 21 Jun 2024 12:31:22 -0700 Subject: [PATCH] update actions --- .github/workflows/cicd.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 477dafe1..06811366 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -83,10 +83,10 @@ jobs: steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' @@ -97,10 +97,10 @@ jobs: exclude_paths: 'migrations' - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-$(echo ${{ hashFiles('Dockerfile') }} | head -c 16) @@ -108,8 +108,9 @@ jobs: ${{ runner.os }}-buildx- - name: Build App Image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: + context: . target: app-container tags: ${{ needs.context.outputs.image_tag }} push: false @@ -118,7 +119,7 @@ jobs: cache-to: type=local,dest=/tmp/.buildx-cache - name: Build Test Image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v6 with: target: app-test-container tags: app-test-container @@ -164,7 +165,7 @@ jobs: steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Deployment Pipeline if: >-