Skip to content

Create Github action & update Dockerfile to automate updates#2

Merged
kerta1n merged 4 commits intomainfrom
testing
Mar 5, 2026
Merged

Create Github action & update Dockerfile to automate updates#2
kerta1n merged 4 commits intomainfrom
testing

Conversation

@kerta1n
Copy link
Owner

@kerta1n kerta1n commented Mar 5, 2026

Created Github action yaml file to check the Alpine snapserver pkg, test if current version matches, and if newer version exists, update the Dockerfile SNAPCAST_VERSION arg, then build the Dockerfile, and finally push to GHCR

Dockerfile — 2 changes:

Added curl and unzip to the apk add line (line 9)
Added the snapweb download RUN step (lines 11-17) with unzip -o to force overwrite and avoid the interactive prompt that caused the original build failure
Workflow YAML — 2 changes:

Line 71: Added ref: ${{ github.ref }} to the build job's checkout — ensures it picks up the new commit if check-update pushed a version bump
Lines 74-80: Replaced the Dockerfile-parsing meta_version step with one that uses needs.check-update.outputs.version directly — more robust and avoids reading a potentially stale Dockerfile
@kerta1n kerta1n merged commit 65e1ef7 into main Mar 5, 2026
2 checks passed
@kerta1n kerta1n deleted the testing branch March 5, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant