Compare commits

...

3 commits

2 changed files with 4 additions and 4 deletions
.forgejo/workflows
Dockerfile

View file

@ -13,12 +13,12 @@ jobs:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to cr.sp-codes.de
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: cr.sp-codes.de
username: ${{ secrets.CR_USERNAME }}

View file

@ -1,5 +1,5 @@
# STEP 1 build executable binary
FROM golang:1.22.2-alpine AS builder
FROM golang:1.22.3-alpine AS builder
ENV CADVISOR_VERSION="v0.49.1"
@ -11,7 +11,7 @@ RUN apk upgrade --no-cache \
&& ./build/build.sh
# STEP 2 build the image including only the binary
FROM alpine:3.19.1
FROM alpine:3.20.0
RUN apk upgrade --no-cache && apk add libc6-compat device-mapper findutils zfs \
&& rm -rf /var/cache/apk/*