File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Docker
22
33on :
4+ pull_request :
45 push :
5- branches :
6- - ' master'
7- tags :
8- - ' v*'
96
107jobs :
118 docker :
1512 steps :
1613 - uses : actions/checkout@v6
1714
18- - name : Login to GitHub Container Registry
19- uses : docker/login-action@v4
20- with :
21- registry : ghcr.io
22- username : ${{ github.actor }}
23- password : ${{ secrets.GITHUB_TOKEN }}
24-
2515 - name : Build base image
2616 run : docker compose build base
2717
3424 - name : Build dev dependent image
3525 run : docker compose build vhs
3626
27+ - name : Login to GitHub Container Registry
28+ uses : docker/login-action@v4
29+ if : " github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')"
30+ with :
31+ registry : ghcr.io
32+ username : ${{ github.actor }}
33+ password : ${{ secrets.GITHUB_TOKEN }}
34+
3735 - name : Upload the images
36+ if : " github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')"
3837 run : |
3938 tag=latest
4039 [[ "$GITHUB_REF" =~ ^refs/tags/ ]] && tag="${GITHUB_REF/refs\/tags\//}"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM debian:bookworm-slim AS base
22
33RUN apt-get update && apt-get install -y curl
44
5- ARG version=1.21.1
5+ ARG version=1.24.2
66RUN curl -L "https://github.com/starship/starship/releases/download/v${version}/starship-x86_64-unknown-linux-gnu.tar.gz" | tar -xvz starship \
77 && mv starship /usr/local/bin/
88
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y fish git libicu72 xonsh zsh
44
55RUN git config --system safe.directory '*'
66
7- RUN curl -L https://go.dev/dl/go1.25.5 .linux-amd64.tar.gz | tar -C /usr/local -xzf -
7+ RUN curl -L https://go.dev/dl/go1.26.1 .linux-amd64.tar.gz | tar -C /usr/local -xzf -
88ENV PATH=$PATH:/usr/local/go/bin
99
1010COPY --from=ghcr.io/carapace-sh/shell-cmd /usr/local/bin/cmd /usr/local/bin/cmd
Original file line number Diff line number Diff line change 11FROM ghcr.io/carapace-sh/base
2- ARG version=0.101 .0
2+ ARG version=0.111 .0
33
44RUN curl -L https://github.com/nushell/nushell/releases/download/${version}/nu-${version}-x86_64-unknown-linux-gnu.tar.gz | tar -xvz \
55 && mv nu-${version}-x86_64-unknown-linux-gnu/nu /usr/local/bin
Original file line number Diff line number Diff line change 11FROM ghcr.io/carapace-sh/base AS oil
2- ARG version=0.27 .0
2+ ARG version=0.37 .0
33
44RUN apt-get update && apt-get install -y gcc make libreadline-dev
55RUN curl http://oils.pub/download/oil-${version}.tar.gz | tar -xvz \
Original file line number Diff line number Diff line change 11FROM ghcr.io/carapace-sh/base
2- ARG version=7.4.6
2+ ARG version=7.5.4
33ARG build=1
44
55RUN apt-get update && apt-get install -y libicu72
You can’t perform that action at this time.
0 commit comments