Compare commits

...

2 Commits

Author SHA1 Message Date
20c872ceed chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.22.1
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2024-04-05 08:15:41 +02:00
bd93b021db fix starship prompt installation (#95)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
### 📖 Summary

- fixes starship prompt installation after installer introduced version args. Using static latest version tag for now.
- disables Woodpecker Portainer trigger step. Not needed for updating image tags and auto redeploy in Portainer EE.

### 📑 Test Plan

 CI pipeline tests (Default)

### 💬 Details

_No response_

### 📚 Additional Notes

_No response_

Reviewed-on: CodeServer/arkanum#95
2024-04-05 08:15:11 +02:00
2 changed files with 15 additions and 11 deletions

View File

@ -82,15 +82,16 @@ steps:
when:
event: [pull_request]
triggerPortainer:
image: ocram85/portainer-serviceupdate
settings:
VERBOSE: true
URI: "https://portainer.ocram85.com"
TOKEN:
from_secret: NEXT_TOKEN
when:
event: [pull_request]
# disabled for Portainer-EE: Can handle image tag updates without manual redeploy
#triggerPortainer:
# image: ocram85/portainer-serviceupdate
# settings:
# VERBOSE: true
# URI: "https://portainer.ocram85.com"
# TOKEN:
# from_secret: NEXT_TOKEN
# when:
# event: [pull_request]
gitea-release:
image: plugins/gitea-release

View File

@ -1,4 +1,4 @@
FROM quay.io/linuxserver.io/code-server:4.20.1
FROM quay.io/linuxserver.io/code-server:4.22.1
#LABEL build_version=""
LABEL maintainer="OCram85"
@ -19,7 +19,10 @@ LABEL org.opencontainers.image.documentation="https://gitea.ocram85.com/CodeServ
RUN \
echo "**** install starship prompt ****" && \
curl -sS https://starship.rs/install.sh | sh -s -- -f && \
curl -sS -o /tmp/install.sh https://starship.rs/install.sh && \
chmod +x /tmp/install.sh && \
/tmp/install.sh --verbose --force --version latest && \
rm -f /tmp/install.sh && \
echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc
ENV STARSHIP_CONFIG=/etc/starship.toml