Skip to content

Commit 56f1dc3

Browse files
committed
cleaner script
1 parent 1f695f3 commit 56f1dc3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/docker-publish-multi.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,12 @@ jobs:
151151
152152
update-addon-repo:
153153
name: Update Home Assistant Addon
154-
needs: push-multiarch # ensures this only runs after images are pushed
154+
needs: push-multiarch
155155
runs-on: ubuntu-latest
156156
steps:
157157
- name: Checkout frameos-home-assistant-addon
158158
uses: actions/checkout@v2
159159
with:
160-
# This tells checkout to clone a different repository
161160
repository: frameos/frameos-home-assistant-addon
162161
token: ${{ secrets.ACTIONS_WRITE_TOKEN }}
163162
ref: main
@@ -168,11 +167,8 @@ jobs:
168167
cd home-assistant-addon/frameos
169168
echo "Updating version in config.yml to main-${{ env.SHORT_SHA }}"
170169
sed -i "s/^version: .*/version: main-${{ env.SHORT_SHA }}/" config.yml
171-
# If you also want to ensure the image: matches the new Docker Hub tag, you could do:
172-
# sed -i "s|^image: .*|image: frameos/frameos:main-${{ env.SHORT_SHA }}|" config.yml
173170
174171
- name: Commit changes
175-
# Using EndBug/add-and-commit to auto-commit and push in one step
176172
uses: EndBug/add-and-commit@v9
177173
with:
178174
message: "Update FrameOS version to main-${{ env.SHORT_SHA }}"

0 commit comments

Comments
 (0)