Skip to content

chore(deps): update gcr.io/distroless/static docker digest to 4197211… #2129

chore(deps): update gcr.io/distroless/static docker digest to 4197211…

chore(deps): update gcr.io/distroless/static docker digest to 4197211… #2129

Workflow file for this run

name: Build
on:
push:
branches-ignore:
- renovate/**
paths:
- ".github/workflows/build.yaml"
- "go.mod"
- "go.sum"
- "Taskfile.yaml"
- "**.go"
- "**.go.json"
- "etc/Dockerfile"
pull_request:
branches:
- master
paths:
- ".github/workflows/build.yaml"
- "go.mod"
- "go.sum"
- "Taskfile.yaml"
- "**.go"
- "**.go.json"
- "etc/Dockerfile"
jobs:
docker:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: false
- name: Go Build Cache (build)
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg
key: go-cache-122-${{ hashFiles('**/go.sum') }}-build
restore-keys: |
go-cache-122-${{ hashFiles('**/go.sum') }}-
go-cache-122-
- name: Install Task
uses: arduino/setup-task@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- run: go get ./...
- run: task build
name: Build Binary
- run: docker build -t tmp -f etc/Dockerfile .
- run: docker run tmp -h