Compare commits
3 commits
3b7a0ef90f
...
3ca8ff6be4
Author | SHA1 | Date | |
---|---|---|---|
3ca8ff6be4 | |||
16b33ba406 | |||
72823d38fb |
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ jobs:
|
||||||
username: ${{ secrets.CR_USERNAME }}
|
username: ${{ secrets.CR_USERNAME }}
|
||||||
password: ${{ secrets.CR_TOKEN }}
|
password: ${{ secrets.CR_TOKEN }}
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
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@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# STEP 1 build executable binary
|
# STEP 1 build executable binary
|
||||||
FROM golang:1.22.3-alpine AS builder
|
FROM golang:1.22.6-alpine AS builder
|
||||||
|
|
||||||
ENV CADVISOR_VERSION="v0.49.1"
|
ENV CADVISOR_VERSION="v0.49.1"
|
||||||
|
|
||||||
|
@ -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.0
|
FROM alpine:3.20.2
|
||||||
|
|
||||||
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/*
|
||||||
|
|
Loading…
Reference in a new issue