From 9d11f8c096a50319ecfa38e3013bb8f045684adf Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 1 Feb 2024 16:25:22 -0800 Subject: [PATCH] change location of defaults --- .github/workflows/docker-publish.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index ef5e2f3..e56237e 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -21,21 +21,19 @@ env: # github.repository as / IMAGE_NAME: ${{ github.repository }} +defaults: + run: + working-directory: ./ubuntu-22.04 jobs: build: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./ubuntu-22.04 permissions: contents: read packages: write # This is used to complete the identity challenge # with sigstore/fulcio when running outside of PRs. id-token: write - steps: - name: Checkout repository uses: actions/checkout@v3