chore(deps): update gcr.io/distroless/static:nonroot docker digest to… #948
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push | |
permissions: read-all | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
# coverage: | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 10 | |
# name: Upload Coverage | |
# steps: | |
# - name: Checkout Code | |
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
# - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4 | |
# with: | |
# path: | | |
# ~/.cache/bazel | |
# key: ${{ runner.os }}-bazel-${{ hashFiles('WORKSPACE','MODULE.bazel') }} | |
# restore-keys: | | |
# ${{ runner.os }}-bazel- | |
# - name: Unit Tests | |
# run: bazelisk coverage --combined_report=lcov //... | |
# continue-on-error: true | |
# - run: cp $(bazelisk info output_path)/_coverage/_coverage_report.dat ./ | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@0cfda1dd0a4ad9efc75517f399d859cd1ea4ced1 # v4 | |
# with: | |
# token: ${{ secrets.CODECOV_TOKEN }} | |
# flags: unit-tests | |
# files: ./_coverage_report.dat | |
# fail_ci_if_error: true | |
# verbose: true | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
name: Build | |
env: | |
TEST_TAG: ride/payments-service | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3 | |
- name: Build and export cache | |
uses: docker/build-push-action@32945a339266b759abcbdc89316275140b0fc960 # v6 | |
with: | |
load: true | |
tags: ${{ env.TEST_TAG }} | |
context: . | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |