Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4.6.0
uses: docker/metadata-action@v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
Expand All @@ -45,7 +45,7 @@ jobs:
type=ref,enable=true,priority=600,prefix=pr-,suffix=,event=pr

- name: Build and push Docker image
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.0.0
with:
context: .
push: true
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM codercom/code-server:4.16.1-bullseye
FROM codercom/code-server:4.21.0-bookworm

USER root

Expand All @@ -9,7 +9,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

# go
RUN curl -Lo /tmp/go.tar.gz https://dl.google.com/go/go1.21.0.linux-amd64.tar.gz \
RUN curl -Lo /tmp/go.tar.gz https://dl.google.com/go/go1.22.0.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf /tmp/go.tar.gz \
&& rm /tmp/go.tar.gz
ENV PATH=$PATH:/usr/local/go/bin
Expand Down
2 changes: 1 addition & 1 deletion install-scripts/nvm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if [ -z "${NVM_DIR}" ]
then
echo "nvm is not installed. Installing now... (if prompted, enter password for sudo)"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source $HOME/.bashrc
#We'll also manually load nvm for good measure
export NVM_DIR="$HOME/.nvm"
Expand Down