Skip to content

Commit 7862c12

Browse files
Update all non-major dependencies (#6)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joe Corall <[email protected]>
1 parent 56a6964 commit 7862c12

File tree

3 files changed

+13
-60
lines changed

3 files changed

+13
-60
lines changed

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121
-
2222
name: Set up Go
23-
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
23+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
2424
-
2525
name: Run GoReleaser
2626
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6

.github/workflows/lint-test-build-push.yml

Lines changed: 7 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1414

15-
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
15+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
1616

1717
- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
1818

1919
- run: shellcheck *.sh
2020

2121
- name: golangci-lint
22-
uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7
22+
uses: golangci/golangci-lint-action@9fae48acfc02a90574d7c304a1758ef9895495fa # v7
2323
with:
2424
version: latest
2525

@@ -31,55 +31,8 @@ jobs:
3131

3232
build-push:
3333
needs: [lint-test]
34-
runs-on: ubuntu-24.04
35-
timeout-minutes: 15
36-
steps:
37-
- uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
38-
39-
- name: Extract branch or tag name as docker tag
40-
shell: bash
41-
run: |-
42-
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
43-
TAG=$(echo "${GITHUB_REF#refs/tags/}" | sed 's/[^a-zA-Z0-9._-]//g' | awk '{print substr($0, length($0)-120)}')
44-
else
45-
TAG=$(echo "${GITHUB_REF#refs/heads/}" | sed 's/[^a-zA-Z0-9._-]//g' | awk '{print substr($0, length($0)-120)}')
46-
fi
47-
48-
echo "tag=$TAG" >> $GITHUB_OUTPUT
49-
id: extract_tag
50-
51-
- name: Set up QEMU
52-
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
53-
54-
- name: Set up Docker Buildx
55-
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
56-
57-
- id: setup
58-
name: Setup docker build
59-
shell: bash
60-
run: |-
61-
# only cache main tag to GHCR
62-
if [ "${{steps.extract_tag.outputs.tag}}" = "main" ]; then
63-
echo "cache-to=type=registry,ref=ghcr.io/lehigh-university-libraries/isle-fcrepo-fs:cache,mode=max" >> $GITHUB_OUTPUT
64-
else
65-
echo "cache-to=" >> $GITHUB_OUTPUT
66-
fi
67-
68-
- name: ghcr Login
69-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
70-
with:
71-
registry: ghcr.io
72-
username: ${{ github.actor }}
73-
password: ${{ secrets.GITHUB_TOKEN }}
74-
75-
- name: Build and push GHCR
76-
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6
77-
with:
78-
platforms: |
79-
linux/amd64
80-
linux/arm64
81-
push: true
82-
cache-from: type=registry,ref=ghcr.io/lehigh-university-libraries/isle-fcrepo-fs:cache
83-
cache-to: ${{ steps.setup.outputs.cache-to }}
84-
tags: |
85-
ghcr.io/lehigh-university-libraries/isle-fcrepo-fs:${{steps.extract_tag.outputs.tag}}
34+
uses: lehigh-university-libraries/gha/.github/workflows/build-push-ghcr.yaml@main
35+
permissions:
36+
contents: read
37+
packages: write
38+
secrets: inherit

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM golang:1.24-alpine3.21@sha256:7772cb5322baa875edd74705556d08f0eeca7b9c4b5367754ce3f2f00041ccee
1+
FROM golang:1.24-alpine3.21@sha256:72ff633a5298088a576d505c51630257cf1f681fc64cecddfb5234837eb4a747
22

33
WORKDIR /app
44

55
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
66

77
ARG \
88
# renovate: datasource=repology depName=alpine_3_21/ca-certificates
9-
CA_CERTIFICATES_VERSION="20241121-r1" \
9+
CA_CERTIFICATES_VERSION="20250619-r0" \
1010
# renovate: datasource=repology depName=alpine_3_21/dpkg
1111
DPKG_VERSION="1.22.11-r0" \
1212
# renovate: datasource=repology depName=alpine_3_21/gnupg
@@ -16,10 +16,10 @@ ARG \
1616
# renovate: datasource=repology depName=alpine_3_21/bash
1717
BASH_VERSION="5.2.37-r0" \
1818
# renovate: datasource=repology depName=alpine_3_21/openssl
19-
OPENSSL_VERSION="3.3.3-r0"
19+
OPENSSL_VERSION="3.3.4-r0" \
20+
# renovate: datasource=github-releases depName=gosu packageName=tianon/gosu
21+
GOSU_VERSION=1.17
2022

21-
# renovate: datasource=github-releases depName=gosu packageName=tianon/gosu
22-
ENV GOSU_VERSION=1.17
2323
RUN apk add --no-cache --virtual .gosu-deps \
2424
ca-certificates=="${CA_CERTIFICATES_VERSION}" \
2525
dpkg=="${DPKG_VERSION}" \

0 commit comments

Comments
 (0)