Compare commits

...

2 Commits

Author SHA1 Message Date
renovate-bot 20c872ceed chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.22.1
ci/woodpecker/pr/ci Pipeline was successful Details
2024-04-05 08:15:41 +02:00
OCram85 bd93b021db fix starship prompt installation (#95)
ci/woodpecker/push/ci Pipeline was successful Details
### 📖 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: when:
event: [pull_request] event: [pull_request]
triggerPortainer: # disabled for Portainer-EE: Can handle image tag updates without manual redeploy
image: ocram85/portainer-serviceupdate #triggerPortainer:
settings: # image: ocram85/portainer-serviceupdate
VERBOSE: true # settings:
URI: "https://portainer.ocram85.com" # VERBOSE: true
TOKEN: # URI: "https://portainer.ocram85.com"
from_secret: NEXT_TOKEN # TOKEN:
when: # from_secret: NEXT_TOKEN
event: [pull_request] # when:
# event: [pull_request]
gitea-release: gitea-release:
image: plugins/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 build_version=""
LABEL maintainer="OCram85" LABEL maintainer="OCram85"
@ -19,7 +19,10 @@ LABEL org.opencontainers.image.documentation="https://gitea.ocram85.com/CodeServ
RUN \ RUN \
echo "**** install starship prompt ****" && \ 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 echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc
ENV STARSHIP_CONFIG=/etc/starship.toml ENV STARSHIP_CONFIG=/etc/starship.toml