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: #95
This commit is contained in:
OCram85 2024-04-05 08:15:11 +02:00
parent d388c2f46b
commit bd93b021db
2 changed files with 14 additions and 10 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

@ -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