Skip to content

Commit

Permalink
Pin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jan 17, 2025
1 parent 2f135dc commit e342cd5
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ jobs:
prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2
with:
version: 2024.10.7
install: true
experimental: true
- uses: actions/setup-go@v5
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with:
go-version: '1.23.4'
cache-dependency-path: 'app/go.sum'
- run: go mod tidy
- run: task gen
- name: Save task cache
uses: actions/cache/save@v4
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
path: ./.task
key: task-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.task/checksum/*') }}
Expand All @@ -35,21 +35,21 @@ jobs:
needs: [prepare]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Restore task cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
path: ./.task
key: task-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.task/checksum/*') }}
- uses: jdx/mise-action@v2
- uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2
with:
version: 2024.10.7
install: false
- uses: actions/setup-go@v5
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with:
go-version: '1.23.4'
cache-dependency-path: 'app/go.sum'
- uses: golangci/golangci-lint-action@v6
- uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae # v6
with:
version: v1.61.0
working-directory: ./app
Expand All @@ -59,17 +59,17 @@ jobs:
needs: [prepare]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Restore task cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
path: ./.task
key: task-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.task/checksum/*') }}
- uses: jdx/mise-action@v2
- uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2
with:
version: 2024.10.7
install: false
- uses: actions/setup-go@v5
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with:
go-version: '1.23.4'
cache-dependency-path: 'app/go.sum'
Expand All @@ -79,17 +79,17 @@ jobs:
needs: [prepare]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Restore task cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
path: ./.task
key: task-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.task/checksum/*') }}
- uses: jdx/mise-action@v2
- uses: jdx/mise-action@5083fe46898c414b2475087cc79da59e7da859e8 # v2
with:
version: 2024.10.7
install: false
- uses: actions/setup-go@v5
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with:
go-version: '1.23.4'
cache-dependency-path: 'app/go.sum'
Expand Down
4 changes: 2 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23.4 AS builder
FROM golang:1.23.4@sha256:9820aca42262f58451f006de3213055974b36f24b31508c1baa73c967fcecb99 AS builder

ARG LDFLAGS
ENV LDFLAGS=${LDFLAGS}
Expand All @@ -9,7 +9,7 @@ RUN go mod download
COPY . ./
RUN CGO_ENABLED=0 go build -ldflags="${LDFLAGS}" -o dist/ ./cmd/countup/...

FROM gcr.io/distroless/static-debian12
FROM gcr.io/distroless/static-debian12@sha256:3f2b64ef97bd285e36132c684e6b2ae8f2723293d09aae046196cca64251acac
WORKDIR /app
USER nonroot:nonroot
COPY --from=builder --chown=nonroot:nonroot /src/dist /app/bin
Expand Down
18 changes: 9 additions & 9 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
OAUTH_REDIRECT_URL: https://localhost:4043/login/google/callback

traefik:
image: traefik:v3.2.1
image: traefik:v3.2.1@sha256:1a3e33f976d10f45efd613aa64814867068bf51c782599a70ef370447686291b
labels:
service: traefik
tier: ingress
Expand All @@ -51,7 +51,7 @@ services:
- ./infra/environments/local/compose/traefik:/etc/traefik

postgres:
image: postgres:15.8-alpine
image: postgres:15.8-alpine@sha256:8b963ea3038c3b32182ee7f592ccde21242fa7c5fd9d1b72aa333c27f1bfc809
labels:
service: postgres
component: primary
Expand Down Expand Up @@ -93,7 +93,7 @@ services:
- ./app/schema/migrations:/app/migrations

postgres-exporter:
image: quay.io/prometheuscommunity/postgres-exporter:v0.15.0
image: quay.io/prometheuscommunity/postgres-exporter:v0.15.0@sha256:386b12d19eab2a37d7cd8ca8b4c7491cc7a830d9581f49af6c98a393da9605e6
labels:
service: postgres
component: exporter
Expand All @@ -110,7 +110,7 @@ services:
DATA_SOURCE_PASS: countup

grafana:
image: grafana/grafana:11.1.4
image: grafana/grafana:11.1.4@sha256:886b56d5534e54f69a8cfcb4b8928da8fc753178a7a3d20c3f9b04b660169805
labels:
service: grafana
tier: observability
Expand All @@ -127,7 +127,7 @@ services:
- GF_INSTALL_PLUGINS=https://storage.googleapis.com/integration-artifacts/grafana-lokiexplore-app/grafana-lokiexplore-app-latest.zip;grafana-lokiexplore-app

otel-collector:
image: otel/opentelemetry-collector-contrib:0.107.0
image: otel/opentelemetry-collector-contrib:0.107.0@sha256:b65527791431d76d058b2813748a3f4a8912540d7b23beac2f6b4e02c872f5b7
labels:
service: otel-collector
tier: observability
Expand All @@ -150,7 +150,7 @@ services:
- ./infra/environments/local/compose/otel-collector/config.yaml:/etc/otel-collector/config.yaml

promtail:
image: grafana/promtail:3.1.1
image: grafana/promtail:3.1.1@sha256:48fba41d9f08c6a56a85b078529dc8550a1809d3e7a9674982e9e9bfbdc854c1
labels:
service: promtail
tier: observability
Expand All @@ -167,7 +167,7 @@ services:
- ./infra/environments/local/compose/promtail/config.yaml:/etc/promtail/config.yaml

loki:
image: grafana/loki:3.1.1
image: grafana/loki:3.1.1@sha256:e689cc634841c937de4d7ea6157f17e29cf257d6a320f1c293ab18d46cfea986
labels:
service: loki
tier: observability
Expand All @@ -180,7 +180,7 @@ services:
- ./infra/environments/local/compose/loki/config.yaml:/etc/loki/config.yaml

tempo:
image: grafana/tempo:2.5.0
image: grafana/tempo:2.5.0@sha256:f0200a9bff6d14eb3a4332194f7b77c37ee1a3535e7e41db024d95aab6f1b4e8
labels:
service: tempo
tier: observability
Expand All @@ -193,7 +193,7 @@ services:
- ./infra/environments/local/compose/tempo/config.yaml:/etc/tempo/config.yaml

mimir:
image: grafana/mimir:2.13.0
image: grafana/mimir:2.13.0@sha256:8bdec4684b1a8011d5f5f7710fcfd89c42139b181978325b65747e47376f40d7
labels:
service: mimir
tier: observability
Expand Down

0 comments on commit e342cd5

Please sign in to comment.