Skip to content

Commit

Permalink
chore(ci): drop conditional source logic (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored Apr 21, 2024
1 parent dcc59d0 commit e659681
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,11 @@ jobs:
else
echo "IMAGE_NAME=${{ env.IMAGE_BASE_NAME }}-${{ matrix.cfile_suffix }}" >> $GITHUB_ENV
fi
if [[ "${{ matrix.fedora_version }}" -ge "41" ]]; then
# when we are confident of official fedora images we can switch to them
export SOURCE_IMAGE=fedora-silverblue
export SOURCE_ORG=fedora
else
export SOURCE_IMAGE=base
export SOURCE_ORG=fedora-ostree-desktops
fi
echo "FQ_SOURCE_IMAGE=quay.io/${SOURCE_ORG}/${SOURCE_IMAGE}:${{ matrix.fedora_version }}" >> $GITHUB_ENV
export SOURCE_IMAGE=base
export SOURCE_ORG=fedora-ostree-desktops
echo "SOURCE_IMAGE=${SOURCE_IMAGE}" >> $GITHUB_ENV
echo "SOURCE_ORG=${SOURCE_ORG}" >> $GITHUB_ENV
echo "FQ_SOURCE_IMAGE=quay.io/${SOURCE_ORG}/${SOURCE_IMAGE}:${{ matrix.fedora_version }}" >> $GITHUB_ENV
- name: Generate tags
Expand Down

0 comments on commit e659681

Please sign in to comment.