Compare commits

...

16 Commits
v1.0.1 ... main

Author SHA1 Message Date
c565fe84a0 Merge pull request 'Update docker/metadata-action digest to 44d81d6' (#11) from renovate/docker-metadata-action-digest into main
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 1m25s
Reviewed-on: #11
2024-11-14 11:11:55 +00:00
ffc137b4de Update docker/metadata-action digest to 44d81d6 2024-11-14 08:06:52 +00:00
b4504c8c4e Merge pull request 'Update module github.com/sethvargo/go-githubactions to v1.3.0' (#10) from renovate/github.com-sethvargo-go-githubactions-1.x into main
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 58s
Create and publish a Docker image / build-and-push-image (release) Successful in 56s
Reviewed-on: #10
2024-11-09 15:28:25 +00:00
d51924bda2 Merge pull request 'Update golang Docker tag to v1.23' (#9) from renovate/golang-1.x into main
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run
Reviewed-on: #9
2024-11-09 15:28:13 +00:00
3e2cb30f97 Merge pull request 'Update alpine Docker tag to v3.20' (#8) from renovate/alpine-3.x into main
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run
Reviewed-on: #8
2024-11-09 15:28:00 +00:00
1fc15c896a Merge pull request 'Update docker/metadata-action digest to 0de3687' (#7) from renovate/docker-metadata-action-digest into main
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run
Reviewed-on: #7
2024-11-09 15:27:53 +00:00
81fd213984 Merge pull request 'Update docker/login-action digest to 7ca3450' (#6) from renovate/docker-login-action-digest into main
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run
Reviewed-on: #6
2024-11-09 15:27:44 +00:00
a0f03e4a6d Merge pull request 'Update docker/build-push-action digest to 5e99dac' (#5) from renovate/docker-build-push-action-digest into main
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run
Reviewed-on: #5
2024-11-09 15:27:37 +00:00
8089e0dd56 Update module github.com/sethvargo/go-githubactions to v1.3.0 2024-11-08 00:05:32 +00:00
f0944ae3b9 Update golang Docker tag to v1.23 2024-11-08 00:05:22 +00:00
a3b88f1267 Update alpine Docker tag to v3.20 2024-11-07 23:04:59 +00:00
b2da263435 Update docker/metadata-action digest to 0de3687 2024-11-07 23:04:58 +00:00
0ed551a33f Update docker/login-action digest to 7ca3450 2024-11-07 22:02:35 +00:00
e9c71ff746 Update docker/build-push-action digest to 5e99dac 2024-11-07 22:02:34 +00:00
ad64df8ea3 Merge pull request 'Configure Renovate' (#4) from renovate/configure into main
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 1m3s
Reviewed-on: #4
2024-11-07 21:39:18 +00:00
9a2a76d1b0 Add renovate.json 2024-11-07 21:34:07 +00:00
5 changed files with 11 additions and 6 deletions

View File

@ -38,7 +38,7 @@ jobs:
qemu.install=true
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
uses: docker/login-action@7ca345011ac4304463197fac0e56eab1bc7e6af0
with:
registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }}
@ -46,7 +46,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: docker/metadata-action@44d81d6d2a5a935e1a481942268529623f1f5ccd
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
@ -55,7 +55,7 @@ jobs:
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
uses: docker/build-push-action@5e99dacf67635c4f273e532b9266ddb609b3025a
with:
context: .
push: true

View File

@ -1,4 +1,4 @@
FROM golang:1.21 AS builder
FROM golang:1.23 AS builder
ENV GO111MODULE=on \
CGO_ENABLED=0 \
GOOS=linux \
@ -11,7 +11,7 @@ RUN go build \
.
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
COPY --from=builder --chown=65534:0 /bin/app /app
RUN strip /app && upx -q -9 /app

2
go.mod
View File

@ -2,7 +2,7 @@ module gitea.bruyant.xyz/alexandre/ipfs-node-pin
go 1.21.6
require github.com/sethvargo/go-githubactions v1.1.0
require github.com/sethvargo/go-githubactions v1.3.0
require (
github.com/google/go-cmp v0.5.9 // indirect

2
go.sum
View File

@ -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-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.3.0 h1:Kg633LIUV2IrJsqy2MfveiED/Ouo+H2P0itWS0eLh8A=
github.com/sethvargo/go-githubactions v1.3.0/go.mod h1:7/4WeHgYfSz9U5vwuToCK9KPnELVHAhGtRwLREOQV80=

3
renovate.json Normal file
View File

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}