Compare commits
1 commit
main
...
renovate/c
Author | SHA1 | Date | |
---|---|---|---|
6c30c5682b |
4 changed files with 8 additions and 25 deletions
|
@ -45,8 +45,6 @@ jobs:
|
|||
HOSTNAME="${SERVER_URL#https://}"
|
||||
echo "Hostname: HOSTNAME"
|
||||
echo "DOCKER_REGISTRY_HOST=$HOSTNAME" >> "$GITHUB_ENV"
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to Forgejo Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
@ -56,7 +54,6 @@ jobs:
|
|||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
context: ./images/${{ matrix.images.name }}/${{ matrix.images.tag }}
|
||||
push: true
|
||||
tags: ${{ env.DOCKER_REGISTRY_HOST }}/${{ github.repository_owner }}/${{ matrix.images.name }}:${{ matrix.images.tag }}
|
||||
|
|
|
@ -8,7 +8,4 @@ https://git.martin-riedl.de/ci/-/packages/container/ubuntu/24.04
|
|||
|
||||
- ca-certificates
|
||||
- curl
|
||||
- docker-ce-cli
|
||||
- docker-buildx-plugin
|
||||
- git
|
||||
- nodejs 22
|
||||
|
|
|
@ -2,27 +2,10 @@ FROM ubuntu:24.04
|
|||
|
||||
RUN apt-get update && apt-get upgrade -y && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# install basis tools
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends curl ca-certificates git && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# install nodejs
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates && \
|
||||
curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \
|
||||
bash nodesource_setup.sh && \
|
||||
apt-get install -y --no-install-recommends nodejs && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
node -v
|
||||
|
||||
# install docker client
|
||||
# https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
|
||||
RUN install -m 0755 -d /etc/apt/keyrings && \
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \
|
||||
chmod a+r /etc/apt/keyrings/docker.asc && \
|
||||
echo \
|
||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
|
||||
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
|
||||
tee /etc/apt/sources.list.d/docker.list > /dev/null && \
|
||||
apt-get update && apt-get install -y --no-install-recommends docker-ce-cli docker-buildx-plugin && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
docker -v
|
||||
|
|
6
renovate.json
Normal file
6
renovate.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"local>ci/renovate//configs/base"
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue