diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 05daf0d..2438a75 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -47,7 +47,7 @@ jobs: dockerbuild/* - name: Log in to the Container registry if: steps.changed_files.outputs.any_modified == 'true' - uses: docker/login-action@a9794064588be971151ec5e7144cb535bcb56e36 + uses: docker/login-action@cf8514a65188af1d4f94f8c28a7a4153af1088ce with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -63,7 +63,7 @@ jobs: - name: Build and push Docker image if: steps.changed_files.outputs.any_modified == 'true' - uses: docker/build-push-action@4fad532b9fdbfb80f436784834374a1c11834153 + uses: docker/build-push-action@9311bf5263ae5b36f3ec67aff768790c6e2344ad with: context: dockerbuild push: true diff --git a/.github/workflows/dockerbuild.yaml b/.github/workflows/dockerbuild.yaml index 7e220c5..823a192 100644 --- a/.github/workflows/dockerbuild.yaml +++ b/.github/workflows/dockerbuild.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - name: Log in to the Container registry - uses: docker/login-action@a9794064588be971151ec5e7144cb535bcb56e36 + uses: docker/login-action@cf8514a65188af1d4f94f8c28a7a4153af1088ce with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -28,14 +28,14 @@ jobs: - name: Extract metadata for Docker id: meta - uses: docker/metadata-action@35e9aff4f5d665b5aa8a8f2adffaf8a1b5f49cc0 + uses: docker/metadata-action@0f8c876bafbf5dbce05c36682ec68e9a0274a48a with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=ref,event=branch - name: Build and push Docker image - uses: docker/build-push-action@4fad532b9fdbfb80f436784834374a1c11834153 + uses: docker/build-push-action@9311bf5263ae5b36f3ec67aff768790c6e2344ad with: context: dockerbuild push: true