Compare commits
5 Commits
1d9221a32b
...
69cb457daf
Author | SHA1 | Date | |
---|---|---|---|
69cb457daf | |||
2183260970 | |||
554d9841b0 | |||
24b15a0762 | |||
09e604abb1 |
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user