Compare commits
1 commit
904fe2680a
...
2fbb82256b
Author | SHA1 | Date | |
---|---|---|---|
2fbb82256b |
2 changed files with 8 additions and 8 deletions
|
@ -13,12 +13,12 @@ jobs:
|
|||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Login to cr.sp-codes.de
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: cr.sp-codes.de
|
||||
username: ${{ secrets.CR_USERNAME }}
|
||||
|
@ -26,12 +26,12 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64/v8
|
||||
push: true
|
||||
tags: |
|
||||
spcodes/cadvisor:v0.52.1
|
||||
spcodes/cadvisor:v0.49.1
|
||||
spcodes/cadvisor:latest
|
||||
cr.sp-codes.de/sp-codes/cadvisor:v0.52.1
|
||||
cr.sp-codes.de/sp-codes/cadvisor:v0.49.1
|
||||
cr.sp-codes.de/sp-codes/cadvisor:latest
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# STEP 1 build executable binary
|
||||
FROM golang:1.24.1-alpine AS builder
|
||||
FROM golang:1.23.1-alpine AS builder
|
||||
|
||||
ENV CADVISOR_VERSION="v0.52.1"
|
||||
ENV CADVISOR_VERSION="v0.49.1"
|
||||
|
||||
WORKDIR $GOPATH/src/github.com/google/cadvisor
|
||||
|
||||
|
@ -11,7 +11,7 @@ RUN apk upgrade --no-cache \
|
|||
&& ./build/build.sh
|
||||
|
||||
# STEP 2 build the image including only the binary
|
||||
FROM alpine:3.21.3
|
||||
FROM alpine:3.20.3
|
||||
|
||||
RUN apk upgrade --no-cache && apk add libc6-compat device-mapper findutils zfs \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
|
Loading…
Add table
Reference in a new issue