From 092a4f1192b8570ef6cfd08b3c54cc57621f494e Mon Sep 17 00:00:00 2001 From: Kyle McLaren Date: Wed, 3 Jul 2024 22:32:10 +0200 Subject: [PATCH] Fix workflow syntax --- .github/workflows/push.yaml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 7b27ef8..c63ec58 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -35,18 +35,14 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and Push Cog Image - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: replicate/setup-cog@v2 - with: - install-cuda: false - cog-version: v0.9.12 - - run: | - cog push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}:latest --use-cuda-base-image false + uses: replicate/setup-cog@v2 + with: + install-cuda: false + cog-version: v0.9.12 + - run: | + cog push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}:latest --use-cuda-base-image false - * name: Generate artifact attestation + - name: Generate artifact attestation uses: actions/attest-build-provenance@v1 with: subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}