From 2f9d353f7d25b0495214e330c4015d3acacdbb58 Mon Sep 17 00:00:00 2001 From: VladYoSlav Date: Sat, 22 Jun 2024 00:42:17 +0300 Subject: [PATCH] fix(ci) --- .github/workflows/build-and-publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index 761fd48a..5a4a610d 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -18,8 +18,6 @@ jobs: attestations: write id-token: write steps: - - name: Checkout repository - uses: actions/checkout@v4 # This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels. - name: Extract metadata (tags, labels) for Docker uses: docker/metadata-action@v5 @@ -33,6 +31,8 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Checkout repository + uses: actions/checkout@v3 - name: Build and push Docker image uses: int128/kaniko-action@v1 with: