diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 722b9fd..d46239e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,7 @@ jobs: with: # we need more than the last commit to figure out the version from the tags and commits. fetch-depth: 0 + - name: Install poetry run: pipx install poetry - name: Set up Python 3.9 @@ -98,7 +99,7 @@ jobs: file: dockerfile_${{ matrix.image }} # only push if we build from main branch # might need tweaks for pushing of tags. - push: ${{ github.ref == 'main' || github.ref == 'v${VERSION_TAG}' }} + push: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/tags/v${VERSION_TAG}' }} tags: ${{ steps.meta.outputs.tags }} build-args: | # not really needed for the lighthouse matrix job, but oh well... WHEEL_FILE=oeh_meta_lookup-${VERSION_TAG}-py3-none-any.whl