Skip to content

Commit 262ecb0

Browse files
committed
chore: update base image, tooling, and CI actions
- Upgrade base image from debian:bullseye-slim to debian:bookworm-slim - Bump nats CLI from v0.1.4 to v0.4.0 - Add mise to PATH - Remove unused Go PATH env var - Bump GitHub Actions: checkout v3→v6, login-action v2→v4, metadata-action v4→v6, build-push-action v4→v7 - Remove stale .build.yml (sourcehut)
1 parent 061875a commit 262ecb0

3 files changed

Lines changed: 12 additions & 22 deletions

File tree

.build.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/tag_em_and_bag_em.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v6
2222

2323
- name: Log in to the Container registry
24-
uses: docker/login-action@v2
24+
uses: docker/login-action@v4
2525
with:
2626
registry: ${{ env.REGISTRY }}
2727
username: ${{ github.actor }}
2828
password: ${{ secrets.GITHUB_TOKEN }}
2929

3030
- name: Extract metadata (tags, labels) for Docker
3131
id: meta
32-
uses: docker/metadata-action@v4
32+
uses: docker/metadata-action@v6
3333
with:
3434
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3535

3636
- name: Build and push Docker image
37-
uses: docker/build-push-action@v4
37+
uses: docker/build-push-action@v7
3838
with:
3939
context: .
4040
push: true

Dockerfile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:bullseye-slim
1+
FROM debian:bookworm-slim
22

33
RUN apt-get update && \
44
apt-get -y upgrade && \
@@ -21,15 +21,16 @@ RUN apt-get update && \
2121
postgresql-client \
2222
shelldap \
2323
pgformatter && \
24-
curl -LO https://github.com/nats-io/natscli/releases/download/v0.1.4/nats-0.1.4-amd64.deb && \
25-
dpkg -i nats-0.1.4-amd64.deb && \
26-
rm -f nats-0.1.4-amd64.deb && \
24+
curl -LO https://github.com/nats-io/natscli/releases/download/v0.4.0/nats-0.4.0-amd64.deb && \
25+
dpkg -i nats-0.4.0-amd64.deb && \
26+
rm -f nats-0.4.0-amd64.deb && \
2727
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim && \
2828
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && \
29-
~/.fzf/install
30-
31-
ENV PATH=${PATH}:/usr/local/go/bin
29+
~/.fzf/install && \
30+
curl https://mise.run | sh
3231

32+
ENV PATH=/root/.local/bin:${PATH}
33+
3334
COPY files/root/.bashrc /root/.bashrc
3435
COPY files/root/.vimrc /root/.vimrc
3536

0 commit comments

Comments
 (0)