Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
c565fe84a0 | |||
ffc137b4de | |||
b4504c8c4e | |||
d51924bda2 | |||
3e2cb30f97 | |||
1fc15c896a | |||
81fd213984 | |||
a0f03e4a6d | |||
8089e0dd56 | |||
f0944ae3b9 | |||
a3b88f1267 | |||
b2da263435 | |||
0ed551a33f | |||
e9c71ff746 | |||
ad64df8ea3 | |||
9a2a76d1b0 |
@ -38,7 +38,7 @@ jobs:
|
|||||||
qemu.install=true
|
qemu.install=true
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
uses: docker/login-action@7ca345011ac4304463197fac0e56eab1bc7e6af0
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
@ -46,7 +46,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
uses: docker/metadata-action@44d81d6d2a5a935e1a481942268529623f1f5ccd
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
uses: docker/build-push-action@5e99dacf67635c4f273e532b9266ddb609b3025a
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.21 AS builder
|
FROM golang:1.23 AS builder
|
||||||
ENV GO111MODULE=on \
|
ENV GO111MODULE=on \
|
||||||
CGO_ENABLED=0 \
|
CGO_ENABLED=0 \
|
||||||
GOOS=linux \
|
GOOS=linux \
|
||||||
@ -11,7 +11,7 @@ RUN go build \
|
|||||||
.
|
.
|
||||||
RUN echo "nobody:x:65534:65534:Nobody:/:" > /etc_passwd
|
RUN echo "nobody:x:65534:65534:Nobody:/:" > /etc_passwd
|
||||||
|
|
||||||
FROM alpine:3.19 as compressor
|
FROM alpine:3.20 as compressor
|
||||||
RUN apk add --no-cache upx binutils
|
RUN apk add --no-cache upx binutils
|
||||||
COPY --from=builder --chown=65534:0 /bin/app /app
|
COPY --from=builder --chown=65534:0 /bin/app /app
|
||||||
RUN strip /app && upx -q -9 /app
|
RUN strip /app && upx -q -9 /app
|
||||||
|
2
go.mod
2
go.mod
@ -2,7 +2,7 @@ module gitea.bruyant.xyz/alexandre/ipfs-node-pin
|
|||||||
|
|
||||||
go 1.21.6
|
go 1.21.6
|
||||||
|
|
||||||
require github.com/sethvargo/go-githubactions v1.1.0
|
require github.com/sethvargo/go-githubactions v1.3.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/google/go-cmp v0.5.9 // indirect
|
github.com/google/go-cmp v0.5.9 // indirect
|
||||||
|
2
go.sum
2
go.sum
@ -4,3 +4,5 @@ github.com/sethvargo/go-envconfig v0.9.0 h1:Q6FQ6hVEeTECULvkJZakq3dZMeBQ3JUpcKMf
|
|||||||
github.com/sethvargo/go-envconfig v0.9.0/go.mod h1:Iz1Gy1Sf3T64TQlJSvee81qDhf7YIlt8GMUX6yyNFs0=
|
github.com/sethvargo/go-envconfig v0.9.0/go.mod h1:Iz1Gy1Sf3T64TQlJSvee81qDhf7YIlt8GMUX6yyNFs0=
|
||||||
github.com/sethvargo/go-githubactions v1.1.0 h1:mg03w+b+/s5SMS298/2G6tHv8P0w0VhUFaqL1THIqzY=
|
github.com/sethvargo/go-githubactions v1.1.0 h1:mg03w+b+/s5SMS298/2G6tHv8P0w0VhUFaqL1THIqzY=
|
||||||
github.com/sethvargo/go-githubactions v1.1.0/go.mod h1:qIboSF7yq2Qnaw2WXDsqCReM0Lo1gU4QXUWmhBC3pxE=
|
github.com/sethvargo/go-githubactions v1.1.0/go.mod h1:qIboSF7yq2Qnaw2WXDsqCReM0Lo1gU4QXUWmhBC3pxE=
|
||||||
|
github.com/sethvargo/go-githubactions v1.3.0 h1:Kg633LIUV2IrJsqy2MfveiED/Ouo+H2P0itWS0eLh8A=
|
||||||
|
github.com/sethvargo/go-githubactions v1.3.0/go.mod h1:7/4WeHgYfSz9U5vwuToCK9KPnELVHAhGtRwLREOQV80=
|
||||||
|
3
renovate.json
Normal file
3
renovate.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user