diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 096d7bc02..7cbb84d1b 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -35,8 +35,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - name: Switching working directory - run: cd ./rust # Install the cosign tool except on PR # https://github.com/sigstore/cosign-installer - name: Install cosign @@ -75,7 +73,7 @@ jobs: id: build-and-push uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 with: - context: . + context: ./rust push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}