diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 7b37addf29c..98962c0aad4 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -133,12 +133,6 @@ jobs: ghcr_tags: ${{ steps.set-vars.outputs.ghcr_tags }} file: ${{ steps.set-vars.outputs.file }} steps: - # TODO: why checkout? - - name: Check out the code at a specific ref - uses: actions/checkout@v4 - with: - ref: ${{ inputs.nightly_tag_main || github.ref }} - - name: Set Dockerfile and Tags id: set-vars run: | @@ -177,7 +171,9 @@ jobs: runs-on: ubuntu-latest needs: [get-version, setup] steps: - # TODO: Should be inputs.version iff not base + # TODO: Should be inputs.version iff not base version + # if it's not main, you still kind of have to supply a main tag. it's weird, since we don't have a base tag without a main. + - name: Check out the code at a specific ref uses: actions/checkout@v4 with: