Compare commits

..

9 commits

Author SHA1 Message Date
904fe2680a Update docker/setup-buildx-action action to v3 2025-03-11 23:00:21 +00:00
fabf9bd44d Merge pull request 'Update docker/login-action action to v3' (#57) from renovate/docker-login-action-3.x into main
Some checks failed
Build and Push Docker image / Build and Push Docker image (push) Failing after 15s
Reviewed-on: #57
2025-03-11 22:19:52 +00:00
9c39719214 Merge pull request 'Update docker images' (#68) from renovate/docker-images into main
Some checks failed
Build and Push Docker image / Build and Push Docker image (push) Failing after 12s
Reviewed-on: #68
2025-03-11 22:19:02 +00:00
2413fd0f96 Merge pull request 'Update dependency google/cadvisor to v0.52.1' (#69) from renovate/cadvisor into main
Some checks failed
Build and Push Docker image / Build and Push Docker image (push) Has been cancelled
Reviewed-on: #69
2025-03-11 22:18:50 +00:00
5991a7543b Merge pull request 'Update docker/build-push-action action to v6' (#65) from renovate/docker-build-push-action-6.x into main
Some checks failed
Build and Push Docker image / Build and Push Docker image (push) Has been cancelled
Reviewed-on: #65
2025-03-11 22:18:37 +00:00
136acc6708 Update dependency google/cadvisor to v0.52.1 2025-03-05 03:00:13 +00:00
034e5aefc9 Update docker images 2025-03-04 22:00:19 +00:00
affb1fc657 Update docker/login-action action to v3 2024-09-12 20:00:14 +00:00
3d7a0668c9 Update docker/build-push-action action to v6 2024-09-12 20:00:13 +00:00
2 changed files with 8 additions and 8 deletions

View file

@ -13,12 +13,12 @@ jobs:
image: ghcr.io/catthehacker/ubuntu:act-latest image: ghcr.io/catthehacker/ubuntu:act-latest
steps: steps:
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to cr.sp-codes.de - name: Login to cr.sp-codes.de
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
registry: cr.sp-codes.de registry: cr.sp-codes.de
username: ${{ secrets.CR_USERNAME }} username: ${{ secrets.CR_USERNAME }}
@ -26,12 +26,12 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v6
with: with:
platforms: linux/amd64,linux/arm64/v8 platforms: linux/amd64,linux/arm64/v8
push: true push: true
tags: | tags: |
spcodes/cadvisor:v0.49.1 spcodes/cadvisor:v0.52.1
spcodes/cadvisor:latest spcodes/cadvisor:latest
cr.sp-codes.de/sp-codes/cadvisor:v0.49.1 cr.sp-codes.de/sp-codes/cadvisor:v0.52.1
cr.sp-codes.de/sp-codes/cadvisor:latest cr.sp-codes.de/sp-codes/cadvisor:latest

View file

@ -1,7 +1,7 @@
# STEP 1 build executable binary # STEP 1 build executable binary
FROM golang:1.23.1-alpine AS builder FROM golang:1.24.1-alpine AS builder
ENV CADVISOR_VERSION="v0.49.1" ENV CADVISOR_VERSION="v0.52.1"
WORKDIR $GOPATH/src/github.com/google/cadvisor WORKDIR $GOPATH/src/github.com/google/cadvisor
@ -11,7 +11,7 @@ RUN apk upgrade --no-cache \
&& ./build/build.sh && ./build/build.sh
# STEP 2 build the image including only the binary # STEP 2 build the image including only the binary
FROM alpine:3.20.3 FROM alpine:3.21.3
RUN apk upgrade --no-cache && apk add libc6-compat device-mapper findutils zfs \ RUN apk upgrade --no-cache && apk add libc6-compat device-mapper findutils zfs \
&& rm -rf /var/cache/apk/* && rm -rf /var/cache/apk/*