Compare commits

...

5 Commits

Author SHA1 Message Date
69cb457daf Update docker/metadata-action digest to 906ecf0 2024-12-12 19:01:43 +00:00
2183260970 Merge pull request 'Update docker/build-push-action digest to 11be14d' (#14) from renovate/docker-build-push-action-digest into main
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 1m58s
Reviewed-on: #14
2024-12-07 16:43:59 +00:00
554d9841b0 Merge pull request 'Update alpine Docker tag to v3.21' (#15) from renovate/alpine-3.x into main
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
Reviewed-on: #15
2024-12-07 16:43:18 +00:00
24b15a0762 Update alpine Docker tag to v3.21 2024-12-05 23:04:57 +00:00
09e604abb1 Update docker/build-push-action digest to 11be14d 2024-12-05 15:05:20 +00:00
2 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@44d81d6d2a5a935e1a481942268529623f1f5ccd
uses: docker/metadata-action@906ecf0fc0a80f9110f79d9e6c04b1080f4a2621
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@5e99dacf67635c4f273e532b9266ddb609b3025a
uses: docker/build-push-action@11be14d908760a0756f045980728ec5fb7880f74
with:
context: .
push: true

View File

@ -11,7 +11,7 @@ RUN go build \
.
RUN echo "nobody:x:65534:65534:Nobody:/:" > /etc_passwd
FROM alpine:3.20 as compressor
FROM alpine:3.21 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