diff --git a/.github/renovate.json5 b/.github/renovate.json5 index fcb0efb..948a3b4 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -6,12 +6,12 @@ "regexManagers": [ { - "fileMatch": ["^Containerfile$"], + "fileMatch": ["^BREW_VERSION$"], "matchStrings": [ - "https://github\\.com/ublue-os/artwork/releases/download/bluefin-v(?[0-9\\-]+)/bluefin-wallpapers\\.tar\\.zstd" + "^(?.*)" ], "datasourceTemplate": "github-releases", - "depNameTemplate": "ublue-os/artwork" + "depNameTemplate": "Homebrew/brew" } ] } diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71fdbba..35fb3b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -145,6 +145,12 @@ jobs: id: date run: echo "date=$(date -u +%Y\-%m\-%d\T%H\:%M\:%S\Z)" | tee "${GITHUB_OUTPUT}" + - name: Checkout repository + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + - name: Read Brew Version + id: brew_version + run: echo "version=$(cat BREW_VERSION)" >> $GITHUB_OUTPUT + - name: Image Metadata uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5 id: metadata @@ -153,6 +159,7 @@ jobs: type=raw,value=${{ env.DEFAULT_TAG }} type=raw,value=${{ env.DEFAULT_TAG }}.{{date 'YYYYMMDD'}} type=raw,value={{date 'YYYYMMDD'}} + type=raw,value=${{ steps.brew_version.outputs.version }} type=ref,event=pr type=sha,enable=${{ github.event_name == 'pull_request' }} labels: | diff --git a/BREW_VERSION b/BREW_VERSION new file mode 100644 index 0000000..51e67ba --- /dev/null +++ b/BREW_VERSION @@ -0,0 +1 @@ +5.0.8