Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 46b0827

Browse files
committed
add selkies tag
1 parent d36a98d commit 46b0827

9 files changed

Lines changed: 90 additions & 98 deletions

File tree

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
## Readme
2525

2626
If you would like to change our readme, please __**do not**__ directly edit the readme, as it is auto-generated on each commit.
27-
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-freetube/edit/master/readme-vars.yml).
27+
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-freetube/edit/selkies/readme-vars.yml).
2828

2929
These variables are used in a template for our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) as part of an ansible play.
3030
Most of these variables are also carried over to [docs.linuxserver.io](https://docs.linuxserver.io/images/docker-freetube)
@@ -115,7 +115,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
115115

116116
## Update the changelog
117117

118-
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-freetube/tree/master/root), add an entry to the changelog
118+
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-freetube/tree/selkies/root), add an entry to the changelog
119119

120120
```yml
121121
changelogs:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
------------------------------
2323

24-
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-freetube/blob/master/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
24+
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-freetube/blob/selkies/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
2525

2626
------------------------------
2727

.github/workflows/external_trigger.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,39 @@ on:
44
workflow_dispatch:
55

66
jobs:
7-
external-trigger-master:
7+
external-trigger-selkies:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/[email protected]
1111

1212
- name: External Trigger
13-
if: github.ref == 'refs/heads/master'
13+
if: github.ref == 'refs/heads/selkies'
1414
env:
1515
SKIP_EXTERNAL_TRIGGER: ${{ vars.SKIP_EXTERNAL_TRIGGER }}
1616
run: |
1717
printf "# External trigger for docker-freetube\n\n" >> $GITHUB_STEP_SUMMARY
18-
if grep -q "^freetube_master_" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
18+
if grep -q "^freetube_selkies_" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
1919
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
20-
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`freetube_master_\`; will skip trigger if version matches." >> $GITHUB_STEP_SUMMARY
21-
elif grep -q "^freetube_master" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
20+
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`freetube_selkies_\`; will skip trigger if version matches." >> $GITHUB_STEP_SUMMARY
21+
elif grep -q "^freetube_selkies" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
2222
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
23-
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`freetube_master\`; skipping trigger." >> $GITHUB_STEP_SUMMARY
23+
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` contains \`freetube_selkies\`; skipping trigger." >> $GITHUB_STEP_SUMMARY
2424
exit 0
2525
fi
2626
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
27-
echo "> External trigger running off of master branch. To disable this trigger, add \`freetube_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
27+
echo "> External trigger running off of selkies branch. To disable this trigger, add \`freetube_selkies\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
2828
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
2929
EXT_RELEASE=$(curl -u ${{ secrets.CR_USER }}:${{ secrets.CR_PAT }} -sL 'https://api.github.com/repos/FreeTubeApp/FreeTube/releases' | jq -r 'map(select(.prerelease)) | first | .id')
3030
echo "Type is \`custom_version_command\`" >> $GITHUB_STEP_SUMMARY
31-
if grep -q "^freetube_master_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
31+
if grep -q "^freetube_selkies_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
3232
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
3333
echo "> Github organizational variable \`SKIP_EXTERNAL_TRIGGER\` matches current external release; skipping trigger." >> $GITHUB_STEP_SUMMARY
3434
exit 0
3535
fi
3636
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
3737
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
3838
echo "> Can't retrieve external version, exiting" >> $GITHUB_STEP_SUMMARY
39-
FAILURE_REASON="Can't retrieve external version for freetube branch master"
39+
FAILURE_REASON="Can't retrieve external version for freetube branch selkies"
4040
GHA_TRIGGER_URL="https://github.com/linuxserver/docker-freetube/actions/runs/${{ github.run_id }}"
4141
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 16711680,
4242
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n**Trigger URL:** '"${GHA_TRIGGER_URL}"' \n"}],
@@ -47,7 +47,7 @@ jobs:
4747
echo "External version: \`${EXT_RELEASE}\`" >> $GITHUB_STEP_SUMMARY
4848
echo "Retrieving last pushed version" >> $GITHUB_STEP_SUMMARY
4949
image="linuxserver/freetube"
50-
tag="latest"
50+
tag="selkies"
5151
token=$(curl -sX GET \
5252
"https://ghcr.io/token?scope=repository%3Alinuxserver%2Ffreetube%3Apull" \
5353
| jq -r '.token')
@@ -93,7 +93,7 @@ jobs:
9393
if [ -z "${IMAGE_VERSION}" ]; then
9494
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
9595
echo "Can't retrieve last pushed version, exiting" >> $GITHUB_STEP_SUMMARY
96-
FAILURE_REASON="Can't retrieve last pushed version for freetube tag latest"
96+
FAILURE_REASON="Can't retrieve last pushed version for freetube tag selkies"
9797
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 16711680,
9898
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n"}],
9999
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
@@ -103,14 +103,14 @@ jobs:
103103
if [ "${EXT_RELEASE}" == "${IMAGE_VERSION}" ]; then
104104
echo "Version \`${EXT_RELEASE}\` already pushed, exiting" >> $GITHUB_STEP_SUMMARY
105105
exit 0
106-
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-freetube/job/master/lastBuild/api/json | jq -r '.building') == "true" ]; then
106+
elif [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-freetube/job/selkies/lastBuild/api/json | jq -r '.building') == "true" ]; then
107107
echo "New version \`${EXT_RELEASE}\` found; but there already seems to be an active build on Jenkins; exiting" >> $GITHUB_STEP_SUMMARY
108108
exit 0
109109
else
110110
if [[ "${artifacts_found}" == "false" ]]; then
111111
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY
112112
echo "> New version detected, but not all artifacts are published yet; skipping trigger" >> $GITHUB_STEP_SUMMARY
113-
FAILURE_REASON="New version ${EXT_RELEASE} for freetube tag latest is detected, however not all artifacts are uploaded to upstream release yet. Will try again later."
113+
FAILURE_REASON="New version ${EXT_RELEASE} for freetube tag selkies is detected, however not all artifacts are uploaded to upstream release yet. Will try again later."
114114
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
115115
"description": "**Trigger Failed** \n**Reason:** '"${FAILURE_REASON}"' \n"}],
116116
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}
@@ -121,7 +121,7 @@ jobs:
121121
echo "All artifacts seem to be uploaded." >> $GITHUB_STEP_SUMMARY
122122
fi
123123
response=$(curl -iX POST \
124-
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-freetube/job/master/buildWithParameters?PACKAGE_CHECK=false \
124+
https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-freetube/job/selkies/buildWithParameters?PACKAGE_CHECK=false \
125125
--user ${{ secrets.JENKINS_USER }}:${{ secrets.JENKINS_TOKEN }} | grep -i location | sed "s|^[L|l]ocation: \(.*\)|\1|")
126126
echo "Jenkins [job queue url](${response%$'\r'})" >> $GITHUB_STEP_SUMMARY
127127
echo "Sleeping 10 seconds until job starts" >> $GITHUB_STEP_SUMMARY
@@ -136,7 +136,7 @@ jobs:
136136
--data-urlencode "description=GHA external trigger https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
137137
--data-urlencode "Submit=Submit"
138138
echo "**** Notifying Discord ****"
139-
TRIGGER_REASON="A version change was detected for freetube tag latest. Old version:${IMAGE_VERSION} New version:${EXT_RELEASE}"
139+
TRIGGER_REASON="A version change was detected for freetube tag selkies. Old version:${IMAGE_VERSION} New version:${EXT_RELEASE}"
140140
curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://cdn.discordapp.com/avatars/354986384542662657/df91181b3f1cf0ef1592fbe18e0962d7.png","embeds": [{"color": 9802903,
141141
"description": "**Build Triggered** \n**Reason:** '"${TRIGGER_REASON}"' \n**Build URL:** '"${buildurl}display/redirect"' \n"}],
142142
"username": "Github Actions"}' ${{ secrets.DISCORD_WEBHOOK }}

.github/workflows/greetings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ jobs:
99
- uses: actions/first-interaction@v1
1010
with:
1111
issue-message: 'Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
12-
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-freetube/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
12+
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-freetube/blob/selkies/.github/PULL_REQUEST_TEMPLATE.md)!'
1313
repo-token: ${{ secrets.GITHUB_TOKEN }}

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm
1+
FROM ghcr.io/linuxserver/baseimage-selkies:debianbookworm
22

33
# set version label
44
ARG BUILD_DATE
@@ -11,10 +11,6 @@ LABEL maintainer="thelamer"
1111
ENV TITLE=FreeTube
1212

1313
RUN \
14-
echo "**** add icon ****" && \
15-
curl -o \
16-
/kclient/public/icon.png \
17-
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/freetube-logo.png && \
1814
echo "**** install packages ****" && \
1915
apt-get update && \
2016
apt-get install -y --no-install-recommends \

Dockerfile.aarch64

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-debianbookworm
1+
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-debianbookworm
22

33
# set version label
44
ARG BUILD_DATE
@@ -11,10 +11,6 @@ LABEL maintainer="thelamer"
1111
ENV TITLE=FreeTube
1212

1313
RUN \
14-
echo "**** add icon ****" && \
15-
curl -o \
16-
/kclient/public/icon.png \
17-
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/freetube-logo.png && \
1814
echo "**** install packages ****" && \
1915
apt-get update && \
2016
apt-get install -y --no-install-recommends \

0 commit comments

Comments
 (0)