From 607fabb17cc4e6a57ce5a594d82db2f512d02555 Mon Sep 17 00:00:00 2001 From: Aaron Miller Date: Thu, 4 Jan 2024 17:19:18 -0800 Subject: [PATCH] updating remaining workflows w/ SHAs --- .github/workflows/ci-test.yaml | 2 +- .github/workflows/create-visualization.yaml | 4 ++-- .github/workflows/tagged-build-push.yaml | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-test.yaml b/.github/workflows/ci-test.yaml index 4387b0f..b6dd419 100644 --- a/.github/workflows/ci-test.yaml +++ b/.github/workflows/ci-test.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.6.0 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - name: Run the app run: docker-compose up -d - name: Test app diff --git a/.github/workflows/create-visualization.yaml b/.github/workflows/create-visualization.yaml index 32445f0..6d33491 100644 --- a/.github/workflows/create-visualization.yaml +++ b/.github/workflows/create-visualization.yaml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3.6.0 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - name: Update diagram - uses: githubocto/repo-visualizer@0.9.1 + uses: githubocto/repo-visualizer@739781b29396ea08b529226d8970a5f17a01c52c with: excluded_paths: "diagram.svg,app/.dockerignore,.github,.gitignore,LICENSE" branch: diagram diff --git a/.github/workflows/tagged-build-push.yaml b/.github/workflows/tagged-build-push.yaml index 0ff7df7..5dca867 100644 --- a/.github/workflows/tagged-build-push.yaml +++ b/.github/workflows/tagged-build-push.yaml @@ -13,14 +13,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3.6.0 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - name: Set up QEMU - uses: docker/setup-qemu-action@v2.2.0 + uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 - name: Docker meta id: meta - uses: docker/metadata-action@v4.6.0 + uses: docker/metadata-action@v4.6.0@818d4b7b91585d195f67373fd9cb0332e31a7175 with: images: | ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }} @@ -31,16 +31,16 @@ jobs: latest=auto - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2.10.0 + uses: docker/setup-buildx-action@v2.10.0@885d1462b80bc1c1c7f0b00334ad271f09369c55 - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + uses: docker/login-action@v2.2.0@465a07811f14bebb1938fbed4728c6a1ff8901fc with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Tagged build and push - uses: docker/build-push-action@v3.3.1 + uses: docker/build-push-action@v3.3.1@1104d471370f9806843c095c1db02b5a90c5f8b6 with: file: ./app/Dockerfile context: ./app